How to set up private DNS servers (VPS and Dedicated servers)

If you decide to move your site to a VPS or a dedicated server, then when you try to place your own nameservers for your domain, you will receive the message "You must enter a registered nameserver" and will not accept them, turning the whole thing into nightmare.


Before you start, you must have two IPs, which is provided by the company where you transferred your site. This guide is based on Godaddy, but there will be no tremendous differences in other providers.

From the Control Panel, go to Domains > Manage My Domains and from there to the domain you want, click "View/modify". From there, go down to Host Names and click on "Manage". In the new window, select "Add one now" and type "NS1" as the hostname and in the IP Address you enter the IP corresponding to


Do the same for, where you put NS1 as the hostname and in the IP Address you put the corresponding IP.

When you finish, you will be able to add the nameservers you've just entered to your domain name "Nameservers". Remember that DNS changes may take up to 48 hours to appear. You can check the status of DNS here and here.

About the author



Welcome to my blog. My name is Akis Mparekas. I am a freelance web developer from Greece and I have been involved in SEO, Website Migration (transferring content from a site, eg blogger to WordPress), website optimization, and web scraping (extracting content from one or more sites) for years.

At the same time I am taking my first steps in game development (unity) and animation (blender). I also create cool stuff, either for work or for fun. When I have time, I write tutorials and I blog.

Leave a Comment