Skip to main content

CNAME for top of domain?



Is it possible to set a CNAME record at the top of a domain? (i.e. @ CNAME www, @ CNAME foobar.com., etc.)



My ISP says that it's only possible to use CNAME's for subdomains but I've read somewhere else that is should be possible even if not recommended.



Answer



Not possible - this would conflict with the SOA- and NS-records at the domain root.



From RFC1912 section 2.4:
"A CNAME record is not allowed to coexist with any other data."


Comments