How can I set up a CNAME record for my domain?

The CNAME record will point your domain or subdomain to the IP address of the destination hostname. So, if the IP of the destination hostname changes, you won't need to change your DNS records as the CNAME will have the same IP.

NOTE: Please don't set up a CNAME record for a bare domain e.g., yourdomin.tld (@ hostname since it may affect the operation of the domain's MX records and, consequently, the email service. Thus, in most cases you will need to create a CNAME record for WWW (or other subdomain) and URL Redirect for @ that will point to http://www.yourdomain.tld/

If your domain is using our BasicDNS, BackupDNS or PremiumDNS nameservers, perform the following actions to set up a CNAME record for it:

1. Sign into your Namecheap account (The Sign In option is available in the top hat of the page).

2. Select Domain List from the left sidebar and click on the Manage button next to your domain:




3. Navigate to the Advanced DNS tab at the top of the page:




4. Find the Host records section and click on the Add New Record button (not able to edit Host Records?):




5. Select CNAME Record for Type and enter www for Host:

 


If you would like to create it for another subdomain, address.yourdomain.tld for example, enter the address into the Host field:




6. Once all details are inserted, save them using the Save all changes green button.

Normally, it takes 30 minutes for newly created records to take effect.


Once you've done so, you might also want to make sure that there are no conflicting records set for the same host and remove them, if there are any. The records you need to check may be of URL Redirect (Unmasked/Masked/Permanent Redirect), A or CNAME record types.

Here is the example of conflicting records:




That's it!

If you have any questions, feel free to contact our Support Team.

Comments

We welcome your comments, questions, corrections and additional information relating to this article. Your comments may take some time to appear. Please be aware that off-topic comments will be deleted.

If you need specific help with your account, feel free to contact our Support Team. Thank you.

Need help? We're always here for you.

× Close