Owen

Adding a DNS record to a domain in cPanel is a relatively straightforward process. The first step is to open the DNS Manager panel by clicking on the DNS icon in the cPanel navigation bar.

Then, click on the Domains tab to view the list of domains on your server.

To add a new DNS record, click on the Add Record button in the DNS Manager panel. The Add Record dialog box will appear.

To add a new DNS record, you will need to enter the IP address or hostname of the domain you want to add a record for, as well as the DNS record type (A, CNAME, or MX). The IP address or hostname can be found in the cPanel navigation bar under the DNS icon.

The default name servers for a domain in cPanel are ns1.mydomain.com and ns2.

com. However, you can specify your own name servers if you want.

Click on the OK button to add the record to the DNS Manager panel. The new DNS record will be listed in the Domains tab.

To test the new DNS record, you can use the nslookup command to lookup the domain name. For example, you can use the following command to lookup the domain name mydomain.com using the DNS record that you added to the Domains tab:

nslookup mydomain.com

You should receive a response that includes the IP address or hostname of the mydomain.com domain, as well as the A record, CNAME record, and MX record for mydomain.