Save 15% on Instant Deploy Bare-Metal Servers in 26 Global Markets with Coupon Code: EdgeSave

How to Create DNS Records in cPanel

Creating Domain Name System (DNS) records is an essential step needed for any website. While there are many ways to do this, the process for setting up DNS on your server will be different depending on which type of server you’re using and which control panel you use to interface with it. If you’re hosting on a cPanel server and are looking for instructions on how to set up your DNS records, then this tutorial is for you.

*Note: While DNS records can be created and edited from within cPanel for individual accounts on a server, if you have access to WHM, you can use its interface to edit and create records for all accounts on the server. For instructions on creating and editing DNS zones in WHM, check out our article on How to Create DNS Records in WHM.

 

Creating DNS Records in cPanel

To create DNS records using cPanel, follow these steps:

  1. First, you will need to log into your cPanel account using your username and password. You can access your cPanel account by entering the following URL into your web browser:
     
    https://(your server’s IP address):2083
     
    or, alternatively, if A records are already propagated for the server, you can use:
     
    https://mydomain.com:2083
     
  2. Once you’ve logged in, locate the Zone Editor option under the Domains section of the cPanel main page. Clicking this icon will open a new page.
     
    cPanel interface highlighting the "Zone Editor" tool within the "Domain" category 
  3. On the new page, in the middle of the screen, you will see the name of your domain as well as options to create A records, CNAME records, and MX records. To create a new version of one of these records, simply click on your desired selection and fill in the pop-up box with the required information. If you need to manage records or create a different record than the options you see listed here, click on the Manage option on the far right.
     
    *Note: if you are unsure what type of record you need to create or are unclear about their inherent differences, check the terminology section in our DNS Configuration Guide. Still unsure? Feel free to use one of the methods listed at the bottom of this post to reach out to our support team with any questions you may have. 
     
    Zone Editor tool, listing any DNS records which have already been created.  
  4. After clicking the Manage button, you’ll be brought to a new page. On this page, you will see a list of all the records currently set on this account. Using the Edit buttons on the right side of the screen, you can adjust individual records that have already been created as needed.
     
    Window showing the "Manage" selection in Zone Editor and a list of all previously created DNS records.  
  5. If you need to create additional records besides A, CNAME, and MX records, click on the blue Add Record button in the middle of the screen. This will create a new blank record with spaces to be filled in.
     
    Zone Editor window highlighting top line where new DNS record information can be entered. 
  6. You will notice here we have access to records besides A, CNAME, and MX selections. If you do not have these selections available it is because your server does not have Zone Editor (AAAA, CAA, SRV, TXT) enabled within WHM. You can locate this option in WHM by going to Home -> Packages -> Feature Manager -> Feature Lists.
     
    *Note: If you are on a shared server and do not have root access, you will need to contact your host to have this feature enabled. Alternatively, they may ask you for the record you wish to create so they can create it for you on their end.
     
    Window showing the default feature list in WHM, highlighting the option for "Zone Editor (AAAA, CAA, SRV, TXT)". 
  7. Once you’ve activated the Zone Editor option in WHM (or if it’s already active), you can now add new DNS records of any type. Returning to cPanel, fill in the blanks for the new record you’re creating with its necessary information. Once you’ve finished, click Add Record on the right side to apply the new record.
     Example of a DNS record created for a subdomain on the website.

And there you have it! Now your DNS records are set and your server is ready to go.

 

Need More Personalized Help?

If you have any further issues, questions, or would like some assistance checking on this or anything else, please reach out to us from your my.hivelocity.net account -> Support and provide your server credentials within the encrypted field for the best possible security and support.

If you are unable to reach your my.hivelocity.net account or if you are on the go, please reach out from your valid my.hivelocity.net account email to us here at: support@hivelocity.net. We are also available to you through our phone and live chat system 24/7/365.

 

Additional Links:

Looking for more information on cPanel or DNS? Search our Knowledge Base!  

In need of more great content? Interested in VPS, Private Cloud, or Colocation? Check out our recent posts for more news, guides, and industry insights!

Share on Twitter
Share on Facebook