Your domain, checked and fixed.

Learn DNS · Level 2: The records · lesson 8 of 34 · 2 min

CNAME records, and why you can't put one at the root

Direct answer: A CNAME says "this name is an alias of that name". It can't sit at the root of your domain next to MX and TXT records.

The picture: A CNAME is a note in the contacts app that says "see the entry for someone else". www can say "see my host's entry", and the host keeps the real number up to date.

Example

www.yourbusiness.com  CNAME  yoursite.webhost.example

The root rule

The root (yourbusiness.com) must hold MX, TXT and other records, and a CNAME can't share a name with anything. So web hosts give you an A record for the root, or your DNS host offers "CNAME flattening" or an "ALIAS" record.

Watch for

CNAMEs pointing to services you've closed: someone else can claim them. See subdomain takeover.

Back to the picture: Because a CNAME says "look over there for everything", it can't sit at the root next to your MX and TXT notes. That's why the root needs an A record or a host's special flattening.