The following are the steps to be followed to set up the nameservers for a cPanel server. This instruction set has been divided into two because the configuration must be done at the domain registrar and the cPanel.

Domain Registrar

  1. Registration of the domain at a domain registrar: It is required for the client to own a domain address which can be used to set up nameservers for his hosting server. The client can purchase a domain from Veeble or use an existing domain which has been purchased from any other registrar.
  2. Setting up child nameservers or hosts: If you are using a domain registrar provider say Godaddy, you can find the Edit DNS option available to your registered domain address. Click on this option to find the option Hostnames. 





    Here you can create custom nameservers for example. 
      NS1.EXAMPLE.COM
      NS2.EXAMPLE.COM
    For each of the above child hosts, you have to assign the IP address of your purchased cPanel server. If you have multiple IP addresses assigned to your cPanel, you can choose which IP address to be used for your nameservers.
  3. Updating the created hosts as nameservers: Once the child nameservers/hosts are created they are now ready to be used as the nameservers for any domain that you host on your server. You can also host the domain that you used to create the nameservers as well. In the DNS settings of your domain click on Nameservers and click on the option I’ll use my own nameservers to update the nameservers that you have just created in step 2.

cPanel

  1. Open the WHM portal.
  2. Go to Server configuration >> Basic Webhost Manager
  3. Update the field nameservers with the child hosts created at the domain registrar.
  4. Click on Save Changes.