Sun

Create nameserver with your domain (VPS)

  1. Home
  2. Knowledge Base
  3. Domains
  4. Create nameserver with your domain (VPS)

Using nameservers with your own domain is a great advantage for reselling or managing your online business. It creates and helps promoting your brand’s image. Using Hostens prepared nameservers and “DNS Manager”, you can imitate your own nameservers for you or your client’s domains. Here are steps that will help you create nameserver for your own domain:

1. Set Hostens nameservers for domain

If the domain that you wish to use for creating your own nameservers is registered not at Hostens, please change the nameservers into Hostens:

162.159.24.83 (ns1.hostens.com)
162.159.25.171 (ns2.hostens.com)

2. Add the domain into your VPS:

Adding of domain depends on the operating system and control panel you use. You can check tutorial for our templates here.

3. Login into DNS Manager:

Login into the Client Area and go to the “DNS Manager“, which is found in the left side menu:

Services” -> “DNS” -> “DNS Manager

4. Press the button “Add domain“.

Add new domain

5. Add your new domain:

In the line “Domain” add your new domain that will be used for creating nameservers and in the line “IP Address” enter the IP address of your VPS. Select “Use premade DNS template” and press “Submit“:

Use premade DNS template

6. Go back into DNS Manager

Then go back into the “DNS Manager” and press on your newly added domain.

7. Create subdomains that will be used as nameservers

In the “A records” section, press on “Add new record“. In the line “Name” enter the subdomain for the domain, which will be used to as a first nameserver. For example, in the “Name” enter “ns1” and in the “Content” enter the Hostens first nameserver’s IP address (162.159.24.83 (ns1.hostens.com)):

Add new A record subdomain

After entering it, press the button “Submit“. Then do the same for the second subdomain, just in the “Content” enter Hostens second nameserver’s IP address (162.159.25.171 (ns2.hostens.com)).

After creating subdomains, wait for at least an hour for the changes to propagate.

8. Use created subdomains as nameservers

After the changes will propagate, you can start using the created subdomains as your nameservers for other domains. Add the created subdomains on your current registrar and wait for the nameservers to change fully. It usually takes 5-8 hours for nameservers to be changed, but in some instances can take up to 24 hours.

9. Add another domain into “DNS Manager”:

Go back into “DNS Manager“, press on the “DNS Manager” and add another domain, for which the new nameservers will be used. Then in the section “NS Records“, press “Edit“. In the line “Content“, enter the new nameserver you just created on step 7. Press “Submit” and do the same for the second nameserver.

Wait for few hours to propagate and you will be able to check the second domain’s nameservers. You should be getting the answer from the newly created nameservers. From now on all the domains DNS records will be edited on “DNS Manager” in your Client Area.

Was this article helpful?

Related Articles