After you set up WHM on your VPS, the next step is to set up your domain as the nameserver host. To set up your domain as a nameserver host, you need to edit your domain configuration in your domain registrar.
Usually nameservers look like this: ns1.yourdomain.com, ns2.yourdomain.com. This nameserver will be used by your hosting clients so their domains will point to your server and be accessible on the net. See the example below if you host your domain at GoDaddy.
Create custom nameserver in GoDaddy
- Log in to your GoDaddy control panel.
- In the Dashboard, select the “Advanced Details” link next to the domain name for which you will create nameservers.
- Scroll down to the bottom of the page and you will see a “Host Summary” box. Click on the “Add” link next to the “Host Summary” text.
- You will be presented with a pop-up box to set host and IP addresses.
- Under the “Host Name” field, type ns1.
- Under the “Host IP 1” field, type your primary IP — your server IP address.
- Repeat steps 5 and 6 for ns2, for the secondary IP address. If you have more than one IP address, fill it with your secondary IP. If you have only one IP, then you can fill with the same IP address.
- Click the “Ok” button to save your changes.
The nameserver is set up. Now you need a maximum of 48 hours to propagate. While it is propagating you can set up your server — setting quotas, hardening security, or configuring Apache, MySQL, and PHP. For other registrars, it will look much the same, but if you don’t understand, please ask your service provider.
In the next article I will write how to create quotas and accounts in WHM.
