Search The Hostwinds Guides Knowledge Base

How to Configure Custom Nameservers in WHM

Share This Article

When using WHM and cPanel to manage your Hostwinds VPS or Dedicated server, private nameservers help enhance performance and security. Using ns1.yourdomain.com and ns2.yourdomain.com instead of generic nameservers provided by your hosting company can set your server apart. This guide will cover how to configure custom nameservers in WHM.

 

Prerequisites

VPS or Dedicated server Setup with cPanel.
Private nameservers created here or at your domains registrar.
cPanel account created for the domain to be used for nameservers.

 

Nameserver Setup in WHM

Step 1: Navigate to your WHM Portal using the hostname or the IP address of the server on port 2087. Alternatively, you can use a domain hosted within this cPanel on port 2087. The URL should look something like this:

[toggles class=”yourcustomclass”] [toggle title=”Using a Domain:” class=”in”]https://domain.tld:2087[/toggle] [toggle title=”Using a Hostname:” class=”in”]https://server.domain.tld:2087[/toggle] [toggle title=”Using an IP Address:” class=”in”]https://127.0.0.1:2087[/toggle] [/toggles]

 

This will bring you to the WHM Login page as seen below:

 

WHM Login Screen

 

Step 2: Use the root username and password to login to WHM. Afterwards, you will be welcomed by the WHM Landing page.

 

WHM Landing Page

 

Step 3: In the search filter in the top left, type basic and click on the only option that shows up below. This leads us to the Basic WebHost Manager Setup page. You’ll need to scroll to the bottom of the page that follows to get to the Nameservers section.

 

Search for Basic, Click Basic WebHost Manager Setup

 

Step 4: To configure different IP Addresses for each nameserver, click Configure Address Records next to all entries. Enter each IP Address you wish to set as indicated below. Otherwise, change the boxes provided to reflect the nameserver URL’s created prior.

 

[toggles class=”yourcustomclass”] [toggle title=”Single IP Address:” class=”in”]

If you have a single IP Address, this will suffice. Both nameservers will be added to the root domain’s DNS Zone File as A Name Records so that they point where they need to.

 

Enter New Nameservers, click Save Changes

[/toggle] [toggle title=”Separate IP Addresses:” class=”in”]

If you wish to assign each nameserver an IP Address, use the Configure Address Records button. The top outlined location is the nameservers current A Name Record. The bottom outlined location is where you enter the new record.

You will land on a page that may state “This system has no free IPs.” This is normal and only informational. Alternatively, the following page may show the number of remaining IP Addresses that remain. Either way, the changes were saved successfully. You can use a DNS verification system to check to see that your domain resolves to your current IP Address.

 

[/toggle] [toggle title=”Shared IP Address:” class=”in”]

Message Seen Upon Success

[/toggle] [toggle title=”IP Addresses Available” class=”in”]

Multiple IP Addresses Availalble

[/toggle] [/toggles]

 

[notification type=”alert-info” close=”false” ]

DNS Changes can take up to 3 – 24 hours to propagate globally. You may flush your DNS cache to ensure you are not seeing a cached DNS lookup from your ISP.

[/notification]

 

You have now successfully Setup Private Nameservers within WHM. You may now provide the nameservers set up this way to future domains you wish to use within WHM.

 

Related Articles