This is how you add or change a nameserver using GoDaddy.com as your registrar and WHM/cPanel. At the time of writing, I am using WHM 11.24.2 on a machine running CentOS 5.3.
Create a new nameserver in GoDaddy.com
- Log into GoDaddy.com.
- Click on ‘Domain Manager’ and then the domain to which you will be adding a name server.
- At the bottom-left corner of that page, you will see a box like this one:
Click the ‘add’ link.
- Define the nameserver like this:
- Click OK.
- Repeat these steps for all the nameservers you will be defining. Typically, you need to create at least two, and they can share the same IP address.
Prepare the server
- ssh into the server and su to root.
- add the nameserver ip addresses in /etc/nameserverips in the following format:
- Log in to WHM as root.
- Click on ‘Server Configuration’ > ‘Basic cPanel/WHM Setup’.
- Modify the ‘Primary Nameserver’ and ‘Secondary Nameserver’ fields to match the new nameserver.
- Click on ‘Add an A entry for this nameserver’ on each of the new nameservers, enter the correct IP address in the popup, and click ‘Add Entry’.
- Select a nameserver from ‘Service Configuration’ > ‘Nameserver Selection’. Bind is pretty much standard, but as long as the nameserver is not Disabled, you should be fine.
Modify Resellers’ Nameservers
- Go to ‘Resellers’ > ‘Reseller Center’.
- Under the ‘Reseller Modifications’ section, select a reseller, then click ‘Edit Privileges/Nameservers’.
- At the bottom of the page, enter in the new name servers.
- Click ‘Save All Settings’.
If you need me to expand one of these sections, please comment.