Setting up Nameserver DNS Using cPanel/WebHost Manager

Required: Before you begin, set up a WHM account for your domain name. For more information, see Create an account in WebHost Manager.

Follow these steps to use your own domain name as a nameserver for websites your server hosts.

  1. 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.
  2. Click DNS Functions.
  3. Click Edit DNS Zone.
  4. Select the domain name you want to use, and then click Edit.
  5. 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.

  6. 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.

  7. Click Save.

    Note: DNS can take 24-48 hours to propagate once these changes have been made.

Next steps

You now need to complete the following steps to use your domain name as a nameserver:

  1. Add my own host names lets you use your domain name as a nameserver.
  2. Change nameservers for my domains sets your domain name to your new custom nameserver.

Was This Article Helpful?
Thanks for your feedback. To speak with a customer service representative, please use the support phone number or chat option above.
Glad we helped! Anything more we can do for you?
Sorry about that. Tell us what was confusing or why the solution didn’t solve your problem.