CNAME confusion

Not sure what I'm doing wrong.

There's a host out there called subdomain.bar.com

I have a domain name foo.com authoritative here at Linode.

I'm trying to CNAME web traffic headed to foo.com to subdomain.bar.com.

Adding a CNAME for this results in invalid host error.

Thought getting rid of the blank A record would allow it. Doesn't.

Any thoughts? Thanks.

3 Replies

SOooooooo much easier to troubleshoot when you DON'T hide PUBLICLY AVAILABLE INFORMATION.

If you want help fixing YOUR dns problems - post the actual info.

@southloop:

I'm trying to CNAME web traffic headed to foo.com to subdomain.bar.com.

Adding a CNAME for this results in invalid host error.

Thought getting rid of the blank A record would allow it. Doesn't.

Any thoughts? Thanks.
This is not possible. You cannot create a CNAME when other records exist, and since the root of any particular zone needs to have an SOA and one or more NS records, a CNAME cannot exist at this level.

@thedave:

You cannot create a CNAME when other records exist, and since the root of any particular zone needs to have an SOA and one or more NS records, a CNAME cannot exist at this level.

I did not realize this – thanks much!

Vonskippy, you're right and I apologize.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct