CNAME record (Canonical Name)

CNAME is a Canonical Name Record or Alias Record.

A type of resource record in the Domain Name System (DNS), which indicates that one domain name is an alias of another canonical domain name.

Each system that hosts a website must have an IP address to be connected to the World Wide Web.

The DNS resolves the domain name of the system to the IP address, but sometimes more than one domain name resolves to the same IP address, and this is where the CNAME is useful.

A machine can have an unlimited number of CNAME aliases, but for each alias a separate CNAME record must be in the database.

This helps in multiple servers such as FTP server and WEB server each running on different ports from a single IP address. Each server has its own input into the DNS like &

We can also use CNAME for multiple HTTP servers on the same port with different names on the same physical host.

The big advantage of using CNAME is that if we change the IP address of an A-record, any CNAME record referring to that host will also change.

If we have a website with then this domain name is linked to an A-record that translates the domain name to the correct IP address . If you have multiple subdomains, such as,,, etc. and you want these subdomains to refer to your main domain name which is, instead of creating an A-record for each subdomain and linking it to the IP address of your domain, create an alias, a CNAME record for all these domains.

In the following example, we will create a CNAME record for www that is an alias for

Navigate to Domains from the main menu, and select Manage DNS.

Click the Edit icon

Click theΒ Add Record button

Fill in the details and click Add Record. Keep in mind that an A-record must already be present for to be able to create a CNAME that points to that. Follow this KB article to create an A-record.

Verify the record is in place.

  • 3 Users Found This Useful
Was this answer helpful?

Related Articles

How to update DNS Nameservers at

After purchasing our hosting account, you will receive a welcome email message from us. It will...

SPF (Sender Policy Framework) TXT Record

An SPF record is a TXT record part of a DNS domain (Domain Name Service). An SPF record lists all...

DNS Zones

The Domain Name System (DNS) is split up into many different zones. These zones differentiate...

What are DNS records?

Domain Name System (DNS) records are essential components that help to translate human-friendly...

DNS Overview

What is DNS Name servers are responsible for converting Internet domain names to IP addresses....