How To Setup Private Nameservers For VPS And Dedicated Servers?

Started by DipakS, February 07, 2020, 02:00:32 PM

Previous topic - Next topic

DipakS

You can register your nameservers if you have your own a VPS or a dedicated server (ns1.yourdomain.com and ns2.yourdomain.com).

The first step is to get IP addresses where you can point your domain nameservers.
The IP addresses will be defined in your welcome email, if not you can contact your hosting provider's support team anytime.
Once you have the IP address, you can register the nameservers with your domain registrar.
If your domain is registered with MilesWeb, follow these mentioned steps:
If your domain name is registered with some other hosting provider, please contact them for nameserver assistance.
Once the nameservers are registered, you will have to set them on your server. Follow these mentioned steps:

1. Login to WHM and >> ‘DNS functions’ section >> Edit DNS zone menu
2. Select the drop-down, the domain name you would like to set the nameservers for and click on ‘Edit’ option
3. Update the ‘SOA record’ stating your primary nameserver and the email address
If you want the custom nameservers to be automatically used for all the new cPanel accounts and you also need to set them for all the addons before adding them to cPanel:

Go to ‘Basic cPanel and WHM setup’ in WHM >> and add your custom nameservers.

You must wait 24-72 hours for the DNS changes to propagate worldwide. Contact MilesWeb support if you need any help.