How to Create a CNAME Record

In this tutorial, we will show you how to create a CNAME record. 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 recod in cPanel as well as WHM.

Adding a CNAME Record in cPanel

  1. Log into cPanel.
  2. Click the Advanced Zone Editor button in the Domains section.
  3. Click the drop-down menu, and choose the domain you want to edit the DNS for.
  4. Click the drop-down menu under Type, and choose CNAME.
  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.

Adding a CNAME Record in WHM

  1. Login to WHM.
  2. Click the Edit DNS Zone link in the DNS Functions section.
  3. Click the domain you want to create the CNAME for, then click the Edit button.
  4. Scroll to the bottom and you will see an Add New Entries Below this Line section. Click the Select drop-down menu, then click CNAME.
  5. In the first field enter your CNAME entry. In my example, I am entering: test
  6. Enter your Hostname in the available field, then click the Save button. In my example, I am entering example.com. (14400 will automatically be filled in the TTL section).

Congratulations, now you know how to create CNAME records in cPanel, and WHM.

InMotion Hosting is a leading provider of web hosting for both busineses and individuals. Our US based support department is available to assist you 24/7.

Thoughts on “How to Create a CNAME Record

  • Hi,

    We have account on inomotion. I have created subdomains but after past few days the subdomains is not working. An error displays on screen says:

     

    DNS_PROBE_FINISHED_NXDOMAIN

    and

    err_network_changed

    • That type of error occurs when a DNS (Domain Name System) lookup fails. If they were working and recently failed, check your DNS records in the Advanced DNS Zone Editor in cPanel. If they are there, contact the Live Support team so they can look into it further.

Leave a Reply