How to Create a CNAME Record in cpanel ?

CNAME records are a type of DNS record you can use to point a hostname elsewhere. While they aren’t needed by most users, there are situations where you will want to create a CNAME record for your domain. Such as when you point a subdomain to WordPress.org. We will show you how to create the CNAME record in cPanel as well as WHM.

A CNAME (Canonical Name) points one domain or subdomain to another domain name, allowing you to update one A Record each time you make a change, regardless of how many Host Records need to resolve to that IP address.

These records point www.example.com to example.com, imap.example.com to mail.example.com
The first record allows the domain to resolve to the same server with or without the www subdomain.
The second record allows you to use an alternative subdomain for email hosting an delivery.
The third record allows you to use the docs.example.com subdomain with Google Apps, where you can use Google’s document management system.

Adding a CNAME Record in cPanel :
===========================

Step 1 : Log into cPanel.
Step 2 : Click the Advanced Zone Editor button in the Domains section.
Step 3 : Click the drop-down menu, and choose the domain you want to edit the DNS for.
Step 4 : Click the drop-down menu under Type, and choose CNAME
Step 5 : You will then see Name, TTL, and CNAME options.

Below is an example of the options:

Option Description

Type CNAME
Name test.example.com.
TTL The default setting is 14400, or 4 hours.
CNAME testexample.wordpress.com

Fill them in as needed, then click the Add Record button.

You are finished when you see a message stating “The system successfully added the record.”

You will also see the new CNAME listed now.

Keep in mind that these kinds of changes take a certain amount of time to propagate across the internet. You may have to wait up to 24 hours before you see your changes take effect.Once it’s ready, you can ensure your pages are published where you want by making sure your domain is added to Unbounce and your landing pages are pointing to your custom domain.