Step 1: Configuring the Server
Log in to your server’s WHM interface and find the search bar and type in Basic WebHost Manager Setup. This option will be under the Server Configuration. Scroll to the bottom of the page, you will find the Nameservers section.

/var/cpanel/nameserverips.yaml
If you log in to your server using SSH it is possible to edit this file manually and have cPanel use your new settings.
root@host [/]# cat /var/cpanel/nameserverips.yaml --- ns1.example.com: 72.52.129.244: 1 count: '4' zones: example.com,domain.com,ns1.example.com,ns2.example.com ns2.example.com 72.52.129.245: 1 count: '4' zones: example.com,domain.com,ns1.example.com,ns2.example.comIn the above example, we are using the command cat to display the contents of the file. Changes can be made to this file using your favorite shell text editor such as vim, nano, or whatever you are comfortable using. Before editing the nameserverips.yaml file, you will need to delete the following cache file:
root@host [/]# rm /var/cpanel/nameserverips.cache
cPanel will rebuild that file after you have made your changes.
As always, Liquid Web support recommends you make a backup of any files you change manually using SSH before you modify them!
A simple backup command:
root@host [/]# cp /var/cpanel/nameserverips.yaml /var/cpanel/nameserverips.yaml.bak
Now you can modify the file as much as you want, and if anything terrible happens you can simply delete the file and rename your .bak copy to the original file name.
Important:
If you change your existing nameserver IP assignments you will need to update the assignments at the registrar! When doing this be sure that all your records are set up on the new nameservers before switching over.
Step 2: Registering Your Private Nameservers
The vast majority of registrars do not charge their customers any extra fee for registering nameservers as long as the main domain name itself has already been purchased. If you registered the domain yourself: If you are setting up nameservers for a domain name that you own, which you also purchased yourself at a domain registrar, you will need to log in to your account at that same registrar and use their tool to register the new names. For example, if you are setting up ns1.testdomain.com and ns2.testdomain.com, and you purchased testdomain.com from GoDaddy, you would need to log in to your GoDaddy account to register the new nameservers. Once you have found the tool/page you need at your registrar’s website the registration itself is very straightforward. Most registrars use a simple form where you enter the name of the nameserver you wish to create and the corresponding IP address (that we obtained from the steps described above). If Liquid Web registered the domain for you: If you are setting up nameservers for a domain and the domain was purchased as a part of your Liquid Web account you will need to open a new help desk ticket with your request using either your manage login or by e-mailing support@liquidweb.com. You are welcome to follow the steps described above to complete the server configuration and have us handle the nameserver registration, or if you would like our Heroic Support admins will be happy to help you with the entire process.Step 3: Pointing Your Domain(s) at Your New Nameservers
The final step in creating your nameservers is to start using them by correctly pointing your domain(s). Log in to your registrar and edit the assigned nameservers so that it now points at your new nameserver names.Important:
Please note that if you change a domain’s nameservers the domain will temporarily stop working while the new settings propagate throughout the entire Internet. If downtime is a critical issue for your domain we recommend you make this during a weekend or late at night when traffic is likely to be low.