HostOnNet Blog

What is a CNAME record?

Looking for Linux Server Admin or WordPress Expert? We can help.

The CNAME record is also known as canonical name record. It is used for specifying that a domain name is an alias for another domain, the “canonical” domain. The CNAME Record is used only for subdomains. You can’t add any other records for given hostname, if this hostname has a CNAME Record. Also, it’s not possible to create CNAME record if there are any other records for this hostname.

The canonical name record becomes useful when you want to direct users to the same information delivered on a separate url. For example, for website owners who use a domain such as without any subdomain, a canonical name can be used to add www to the beginning of the URL. Therefore, when a user accesses your site via, they will see the same information as if they accessed it via

Posted in DNS

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.