Search Knowledge Base by Keyword

How to add a DNS record in cPanel

Managing DNS (Domain Name System) can be perplexing. When working through an account, experienced webmasters understand how frustrating it can be to add records, and then wait for them to propagate, only to find out something did not go down that well and the site is unreachable.

What exactly is a DNS record?

DNS records are used to specify where your website, or areas of your website, should load from on the internet. DNS records show how domains correspond to IPs or other domains. There are a number of scenarios where you may need to add a DNS record – for example if you need to redirect your mail to a different provider, set a subdomain to load from a different location, or to set up Google verification.

There are a number of types of DNS records. Other types include:

  • CNAME records, which map one domain name to another. You might use a CNAME to point blog.UKHost4u.com at UkHost4u.com instead of having two “A records” for the same IP. Obviously to say that you have to replace UKHost4u.com with your own domain.
  • MX records are Mail Exchanger records. They indicate where incoming mail should be forwarded.
  • NS records show which DNS server is mainly authoritative for a domain: ns1.mynameserver.com, for example.

How to find DNS record in cPanel

As obvious, the first step is to login to cPanel.

Once logged in, go to the Zone Editor.

This should look somewhat like the screengrab below

Zone Editor location in cPanel

You can now click Manage to add a DNS record, or add from the most common records (A, CNAME, and MX records).

Zone Editor screen in cPanel

There is a chance that your domains are already configured and you may see the following kind of screen. In this case, you can select the manage option as below

Click Manage link next to domain

You can then click on Add record and add the record of your choice. In the following demonstration, we show how to add a CNAME record

Click +Add Record drop-down menu and select record

Here is then when you add the Name, TTL, Type and Record fields. Do note that this procedure is specifically to create CNAME record.

Enter details for record into fields

Now click Add Record to begin adding a record. You’ll be prompted to choose the type of record you wish to add, as well as the values for the DNS record.

Was this article helpful?
0 out Of 5 Stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
5
How can we improve this article?
Please submit the reason for your vote so that we can improve the article.