How to configure Private DNS records

To configure your own name servers in cPanel/WHM please follow the steps below:


1. Make sure your VPS has a proper hostname (like "server," where is a domain you own and added in cPanel/WHM). Do not use "".


2. Login to cPanel/WHM:


3. Go to Edit DNS Zone in the left menu and click on it.


4. Clic once on the domain you want to use for nameservers to select it and then click on the Edit button


5. Add ns1 and ns2 records as shown in the image below. Remember to change the IP(s) with your VPS IP . You can use 1 IP for both records if you only have one IP.


6. Save the DNS zone


7. You also need to add the nameservers and to your domain register. Go to the company you bough the domain from and setup and with the IP(s) you set at step 5 above.

How to configure my own name servers in cPanel-WHM