Is it possible to set a CNAME record for a toplevel domain like example.com?
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.
|
Is it possible to set a CNAME record for a toplevel domain like example.com? 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. |
|||
|
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." |
|||||
|
|
You can setup your domain to be a CNAME to another domain, but then everything will go to that other domain -- including mail and the SOA "start-of-authority" record itself. However, you can still have separate subdomains, like "private.domain.com" use another mail and web server. |
|||||
|
|
You can have an @ record set to a CNAME, but all other @ records (including MX) will be ignored and set to the same domain to which it points. However you can point www subdomain to a CNAME, ex.: www CNAME toanotherdomain.com |
|||
|
|
example.comis a subdomain ofcom, andcomis a subdomain of.. Any limitations put in place by your ISP are put in place by your ISP and perhaps the registrar, not by the underlying technology. – ghoti Sep 22 '12 at 16:26