Skip to content
EuroVPSEuroVPS

How to create private name servers

EuroVPS FAQ

1 min read

How to set up Nameservers in cPanel/WHM Server

Register Primary and Secondary nameservers with domain registrar with the two IPs you have. Assuming, you have registered the following name servers:

ns1.yourdomain.com     77.235.XX.XX
ns2.yourdomain.com     77.235.XX.XX
  • Log into WHM (Web Host Manager). 
  • Select Edit Basic Setup from the Server Configuration menu on the left. Home » Server Configuration » Basic WebHost Manager Setup 
  • Enter ns1.yourdomain.com in the Primary Nameserver field. Hit 'Assign IP Address', then hit 'Add an A Entry for this nameserver'. 
  • Repeat this process for the Secondary Nameserver "ns2.yourdomain.com". 

In case the domain (yourdomain.com) already exists in the server, please go to edit DNS zone and add A record for ns1 and ns2.yourdomain.com.

Home »DNS Functions »Edit DNS Zone >> Choose a Zone to Edit >> yourdomain.com >> Add New Entries 

How to set up Nameservers in Plesk Server

  • Register Primary and Secondary nameservers with domain registrar to with IP's on the Plesk Onyx server. 
  • From Plesk, Create "A" and "PTR" Records for the primary and secondary nameservers in a local domain's zone designating the two IP's as nameservers. 
  • Create the NS records in the DNS Template under the SERVER section. This will automatically insert the zone records into any newly created domain's zone file. 
  • Add the NS records to any domain that you wish to use the nameservers.

From the EuroVPS FAQ.

More in how to

Your next infrastructure partner

Still have
a question?

Tell us what you are trying to do. An engineer will read it and reply.

+357 222 32280
A EuroVPS engineer carrying a server node on the datacenter floor
A conversation with the people
who will look after your infrastructure.

Let’s start with your setup.

A little context helps us start the right conversation.

We’ll use your details to respond to your enquiry. Privacy policy