How to Create a CNAME Record For Your 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/
It is possible to set up a CNAME record from Namecheap's side for domains that are using our BasicDNS, BackupDNS (a legacy option), PremiumDNS or FreeDNS.
Follows these steps to create a CNAME record for your domain
(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 side menu and (3) click the Manage button next to your domain:
(4) Navigate to the Advanced DNS tab and (5) click the Add New Record button (not able to edit Host Records?) in the Host Records section:
(6) Select CNAME Record from the drop-down menu for Type, put your desired host (e.g. www) for Host and enter the record itself (e.g. ghs.googlehosted.com) into Value:
More details on hosts you can use can be found in the "How do I create a subdomain for my domain?" article.
(7) Click on the Save All Changes button each time you need to save the record:
Please check if there are any CNAME, URL Redirect (Unmasked/Masked/Permanent) or A or records set for the same Host. Such records can conflict with each other, thus, they are to be removed.
Here is a CNAME Example with conflicting records::
Once you've done this, wait for 30 minutes for the host records to be accepted.
If you have any questions, feel free to contact our Support Team.