Loading...

Knowledge Base

Setting Private Name Servers as Default to All Accounts in WHM

This article explains how to set the default name servers in WHM for new accounts.

The following instructions will only set the nameserver entries in the DNS zones. You or your customers must still update the nameservers with the domain's registrar. Read more in the following related articles:

Reseller, VPS, and Dedicated hosting

This sets up the default nameservers for the entire server (or the entire account, if Reseller). This will only affect new accounts. Existing accounts will keep their current nameservers.

  1. Log in to WHM.
  2. Type Basic WebHost Manager Setup in the Search box on the left-side panel.

    HostGator WHM Search box
    Alternatively, you can use the Search box at the top.

    HostGator WHM Search box

  3. Select Basic WebHost Manager® Setup.

    HostGator WHM Basic WebHost Manager Link

  4. At the bottom of the interface, enter the desired name server names in the text boxes.

    HostGator WHM Basic WebHost Manager Nameservers section

    • In the Nameserver 1: field,  enter your primary private name server information. For example, ns1.domain.com.
    • In the Nameserver 2: field, enter your secondary private name server information. For example, ns2.domain.com.
  5. Click on Save Changes.

To confirm the change worked, create a test account and check that it uses the name servers you entered.

VPS and Dedicated hosting with Reseller accounts

On Dedicated Servers and VPS, you can create reseller accounts. The following instructions will guide you in setting the default name servers on an individual reseller account created in WHM. Individual reseller accounts can have different default name servers from the default ones set for the entire server.

Like the default name servers for the entire server, this will only affect new accounts. Existing accounts will keep their current name servers.

  1. Log in to WHM.
  2. Look for the Reseller section in the category list and click Edit Reseller Nameservers and Privileges.

    HostGator WHM Resellers link

  3. Select the user/domain from the list and click Submit.

    HostGator WHM Edit Reseller nameservers and privileges

  4. Scroll down to the Nameservers section and select Explicitly Set the Nameservers.

    HostGator WHM Setup Reseller Nameserver

    • Replace the information after Nameserver 1: field with your primary private name server—for example, ns1.domain.com.
    • Replace the information after Nameserver 2: with your secondary private name server—for example, ns2.domain.com.
  5. Click Save All Settings.

To confirm the change worked, create a test account under that reseller and check that it uses the name servers you entered.

Loading...