1. Log in to your server’s WHM interface and find the navigation section on the left called Basic cPanel & WHM Setup, under Server Configuration. This is the first item on the left navigation bar.
2. When you load this screen for the first time you may see that two nameservers, using the same domain name as the server’s hostname, are already in place.
Replace those name servers with your desired name servers and add the IP
3. Click on Assign IP address and Add an A entry for Each name servers
Now you are ready to register your name servers at your website registrar end