The Hosting Awards

Menu
The Hosting Awards

web hosting awards, news, & reviews

How to Create Your Own Nameservers

By In Domains, Web Hosting On December 8, 2014


How to set up a vanity nameserver

If you resell hosting, or simply want to create a professional image for your brand, you can set up your own nameservers for your site.

That means your domain name will be pointed at ns1.yourdomain.com and ns2.yourdomain.com, instead of the nameservers provided by your web host, like ns1.yourwebhost.com and ns2.yourwebhost.com. Sometimes, your own nameservers are called vanity nameservers.

You can set this up if you have a reseller hosting account, a VPS or a dedicated server. You can’t use your own nameservers with a shared hosting account.

1. Define your nameservers

The first step is to define your own nameservers at your domain registrar.

Click on your primary domain name, then click on the nameserver registration option. Ask your host if you need guidance, because every host is different.

Define your nameservers with a chosen prefix. To avoid confusing your customers, it’s best to stick with convention: ns1 and ns2 work fine.

You will need to assign these to the IP address given to you by your host.

2. Create A records

Log in to your hosting control panel and find the section where DNS zones are managed.

In cPanel, the Simple DNS Zone Editor works fine.

Create A records to match the nameservers you just created. This verifies that you actually own the domain.

3. Change your DNS

Change the nameservers for your hosted domains to your vanity nameservers. You’ll need to log in to your domain registrar again, then change the relevant records.

Your clients will also need to change the nameservers for their domains, so make sure you communicate this to them immediately.

4. Test everything

Allow 72 hours for your changes to propagate (usually doesn’t take that long), then test the set-up to make sure it’s working as you expected. It’s advisable to visit your website, check your emails, send a test email and ping your host to ensure the right IP is in use.

If you need any more support, contact your web hosting company.


Related Posts

Leave a comment