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:
- 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:
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
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: email@example.com. We are also available to you through our phone and live chat system 24/7/365.