Setting up Nameserver DNS Using cPanel/WebHost Manager
cPanel's WebHost Manager® (WHM) lets you use your own domain name as a nameserver for websites your server hosts. To use your domain name, you have to set up a WHM Account for it first. For more information, see Creating Accounts in cPanel/WebHost Manager.
To Set up Nameserver DNS Using cPanel/WHM
- Log in to WebHost Manager using root for your username and your server's password at https://yourserverip:2087, where yourserverip is your server's IP address.
- Click DNS Functions.
- Click Edit DNS Zone.
- Select the domain name you want to use, and then click Edit.
- For the two rows with the menu displaying NS, edit the right-most columns to ns1.your domain name. and ns2.your domain name., respectively.
Note: You have to enter a "." after your nameserver in this section for the DNS to work properly.
- In the Add New Entries Below this Line section, do the following in the first row:
- First field: Type ns1
- Second field: Type 14400
- Third field: Select A
- Fourth field: Enter your server's IP address
Then, in the second row, do the following:
- First field: Type ns2
- Second field: Type 14400
- Third field: Select A
- Fourth field: Enter your server's IP address
Note: Do not enter a "." after your ns1 and ns2 entries in this section.
- Click Save.
Note: DNS can take 24-48 hours to propagate once these changes have been made.
You now need to complete the following steps to use your domain name as a nameserver:
- Add my own host names as nameservers lets you use your domain name as a nameserver.
- Set custom nameservers for domains registered with HostingDude.com sets your domain name to your new custom nameserver.