Setup Custom Name Servers in WHM


If you are setting up WHM basic configuration, see step 1. If you have already completed WHM basic configuration, and now would like to setup custom nameservers, see step 2.

1. The first time you log into WHM you will have to complete a 6 step basic configuration:

  • Click on I agree/Go to Next Step 2.
  • Enter your email address at Server Contact Email Address (user@domain.com).
  • Make sure your VPS or dedicated server hostname is correctly configured at "Hostname" (configure a fully-qualified domain name for the hostname, something like vps.yourdomain.com or server.yourdomain.com).
  • Click on Save & Go to Step 3 and after click on Go to Step 4.
  • Enter the custom nameservers at "Nameserver 1" and "Nameserver 2" (ex. ns1.yourdomain.com and ns2.yourdomain.com).
  • Check the box with Add "A Entries" for all Nameservers
  • Enter your VPS or dedicated server main IP at ns1 and the second IP at ns2. You can see your allocated IPs in your Client Portal.
  • Check the box with Add "A Entries" for Hostname.
  • Click on Save & Go to Step 5 and after this click on Save & Go to Step 6.
  • Click on Finish Setup Wizard.
  • Go to "Tweak Settings" and ensure "Enable WHOIS lookups for the nameserver IP manager" is set to "Off" (if this is setting is set to "On", assigning an ip to a nameserver can take a long time).
  • Go to "Basic cPanel & WHM Setup" -> "Basic Config" and enter your main IP of your VPS or dedicated server to "Shared Virtual Host IP" (first field).
  • Go at the bottom of this page and make sure you have the correct nameservers entered at "Nameserver 1" and "Nameserver 2" then push the "Assign Ip Address" button for both the nameservers.
  • Don't forget to add glue records for these nameservers at your registrar, from where you bought your domain.

You are done with the nameserver configuration, don't forget to update cPanel before adding production accounts on the VPS or dedicated server.

You can use the "Upgrade to Latest Version" button from WHM to make sure cPanel is up to date.

2. If you already did the 6 steps basic configuration but you didn't set up custom nameservers, please follow the next steps:

  • Go to "Tweak Settings" and check if "Enable WHOIS lookups for the nameserver IP manager" is off (if you don't do this, assigning an IP to a nameserver can take a long time).
  • Make sure your VPS or dedicated server hostname is correctly configured at 'Change Hostname' -> 'Current Hostname' (something like "vps.yourdomain.com" or "server.yourdomain.com")
  • Go to "Basic cPanel & WHM Setup" -> "Basic Config" and enter the main IP of your VPS or dedicated server into first field.
  • Go at the bottom of this page and make sure you have the correct nameservers entered at "Nameserver 1" and "Nameserver 2" then push the "Assign Ip Address" button for both the nameservers.
  • Push the "Add an A entry for this nameserver" button for both the nameservers and Add Entry.
  • Click Save Changes at the bottom of the page.
  • Don't forget to add glue records for these nameservers at your registrar, from where you bought your domain.

You are done with the nameserver configuration, don't forget to update cPanel before adding production accounts on the VPS or dedicated server.

You can use the "Upgrade to Latest Version" button from WHM to make sure cPanel is up to date.

  • whm custom nameservers, cpanel custom dns, private nameservers, cpanel setup
  • 2 Utenti hanno trovato utile questa risposta
Hai trovato utile questa risposta?

Related Articles

Remove a Service from ChkServd Monitoring for cPanel Servers

This guide requires root user account in server. In some circumstances, ChkservD cPanel...

Assigning a Dedicated IP Address to a Subdomain using WHM

To assign a dedicated IP address to a subdomain, perform the following steps: Step 1: Add the...

Enable Lets Encrypt AutoSSL Provider

This article refers to cPanel version 84 and later. Enable Let's Encrypt for AutoSSL Follow...

How to Fix Incorrect cPanel Account Quotas and Disk Usage

This article will provide a step-by-step guide to fix incorrect account quotas and disk usage on...

How to Uninstall Installatron in WHM cPanel Server

This guide will show you how to quickly uninstall Installatron software from WHM/cPanel server....