What is a CNAME Record

A CNAME, or Cononical Name, record tells DNS that this hostname is an alias of another domain name. This hostname then ends up resolving to the same IP address as the target domain name.

For each CNAME record you can choose an alias and a host. There are some restrictions....

A CNAME must have no other records of other types (MX, A, etc). This is very important especially with the @ record. If you specify a CNAME record type for the @ hostname, then email will not route properly for this domain name.

CNAME records that point to other CNAME records should be avoided. It is possible to create infinite loops and other error conditions.

Other DNS record types that point to other names, such as NS, MX, PTR and SRV should never point to a CNAME.

This concludes this tutorial about CNAMES.

  • 20 Users Found This Useful
Was this answer helpful?

Related Articles

What is an A Record

"A" records (also known as host records) are the central records of DNS. These records link a...

Updating Your DNS at 123-reg.co.uk

As our new hosting client, if you have already purchased your domain name through 123-reg.co.uk,...

Updating Your DNS at MelbourneIT.com.au

The purpose of this tutorial is to teach you how to update your DNS (Domain Name Servers)...

Updating Your DNS at NetFirms.ca

The purpose of this tutorial is to teach you how to update your DNS (Domain Name Servers)...

Updating Your DNS at StarGate.com

The purpose of this tutorial is to teach you how to update your DNS (Domain Name Servers)...