Cloud Service >> Knowledgebase >> WHM >> How do you set up private name servers in WHM/cPanel?
submit query

Cut Hosting Costs! Submit Query Today!

How do you set up private name servers in WHM/cPanel?

Setting up private nameservers in WHM/cPanel involves configuring the nameservers in both the WHM interface and your domain registrar. Here's a step-by-step guide:

1: Log in to WHM

Log in to your WHM (Web Host Manager) with your root or reseller account credentials.

2: Access the "Basic WebHost Manager Setup

Search for "Basic WebHost Manager Setup" in the left-hand menu under "Server Configuration."

Click on it to access the settings.

3: Configure the Nameservers

Scroll right down to the Nameservers section.

You'll see fields wherein you could specify the nameservers (e.g., ns1.Yourdomain.Com, ns2.Yourdomain.Com).

Enter the preferred names in your private nameservers (e.g., ns1.Yourdomain.Com and ns2.Yourdomain.Com).

4: Add A Records for the Nameservers

After specifying your nameservers, you may need to add "A" data to factor those nameservers to their respective IP addresses.

Below the nameserver fields, you can "Add an A entry for this nameserver."

Click the "Add an A access" button next to each nameserver.

WHM will mechanically discover the server's IP deal, but you can manually enter it.

Click "Add Entry" to store it.

5: Register the Nameservers with Your Domain Registrar

Now that your nameservers are installed in WHM, you need to sign them up with your area registrar (e., G., GoDaddy, Namecheap, etc.).

Log in to your domain registrar's manipulate panel.

Find the segment for registering or growing child nameservers (this could be underneath DNS control, custom nameservers, or a comparable choice).

Register ns1.Yourdomain.Com and ns2.Yourdomain.Com with the corresponding IP addresses you installed in WHM.

6: Update Domain's Nameservers

Once registered, you may replace your area's nameservers to point to your new non-public nameservers (ns1.Yourdomain.Com, ns2.Yourdomain.Com).

This will course all DNS queries for your domain through your new nameservers.

7: Verify the Setup

 After making the changes, DNS propagation will take some time.

Use whatsmydns.Net or dig commands to verify that the nameservers effectively point to your IP addresses.

Optional: Configure Glue Records (if wished)

Some registrars require glue statistics when setting up personal nameservers. Glue data hyperlink your area name with the IP deal of your nameserver.

 

This step is commonly blanketed while registering the nameservers and your registrar.

 

After the DNS changes propagate, your non-public nameservers will be completely operational and may be used for all domain names hosted on your cloud hosting server.

Cut Hosting Costs! Submit Query Today!

Grow With Us

Let’s talk about the future, and make it happen!