Create Private Nameservers in cPanel/WHM

Overview

The Create Private Nameservers in cPanel/WHM procedure outlines the steps for users to create private nameservers through cPanel/WHM. cPanel/WHM allows users to set up private nameservers at any time. Private nameservers allow the nameservers associated with a website (www.yourdomain.com) to display the website's nameserver (ns1.yourdomain.com) as opposed to the nameserver associated with the web host for the website (ns1.webhostdomain.com). Adding a private nameserver to a domain also opens up additional options for DNS management within cPanel/WHM. Follow the steps below to create a private nameserver. If issues arise during or after the execution of this procedure, please open a ticket.

Name the Nameserver

  1. Login to WHM on your server at the following URL: http://xx.xx.xx.xx:2086.
  2. Select Basic cPanel/WHM Setup from the Server Configuration menu.
  3. Enter the desired nameserver hostname(s) in one or more of the following fields:
    • Primary Nameserver
    • Secondary Nameserver
    • Tertiary Nameserver
    • Quaternary Nameserver
  4. Click the Save button.

Create a Zone File for the Domain

  1. Select Add a DNS Zone from the DNS Functions menu.
  2. Enter the IP address for the domain in the Ip field.
  3. Enter the domain name in the Domain field.

Note: Alternately, a Domain Account may be created with the Create an Account guide in cPanel's WHM documentation.

Assign an IP to the Nameserver

  1. Select Nameserver IPs from the Network Setup menu.
  2. Enter the first nameserver name in the Nameserver field.
  3. Click the Assign button.
  4. Repeat the steps above for each nameserver.

Set Up the Nameserver

  1. Select Nameserver Setup from the Service Configuration menu.
  2. Click the Proceed button on the pop-up message.