Using custom name servers
A custom name server allows you to run your own name server to respond to DNS requests for your domains. You can also decide to setup custom name servers for branding purposes, if you would like to hide the fact that your domain's DNS requests are handled by our public name servers. Shared and Reseller hosting customers can achieve this same branding affect for their domains by instead setting up vanity name servers.
Our public name servers
By default any websites that we host are going to have DNS records added for that website to our public name servers. Currently these are our public name servers:
ns1.inmotionhosting.com 126.96.36.199 ns2.inmotionhosting.com 188.8.131.52
Are you using our public name servers?
You can use our domain routing tool to see if your domain is pointed already at our public name servers. Or you can follow the steps below to check your domain's DNS records directly from your computer.
- Open a command prompt window by going to Start and then typing in cmd and hitting Enter.
- Once a command prompt window is up, you'll want to type in the following command and hit Enter
You should now be at the nslookup prompt indicated by a >
Now you'll want to specify that you are just looking to query the (NS) name server records of the domain by typing in the following:
Then hit Enter to be dropped to the next line, and here is where you'll type in your domain name:
For this example we used InMotionHosting.com and we get back our public name servers:
ns1.inmotionhosting.com internet address = 184.108.40.206 ns2.inmotionhosting.com internet address = 220.127.116.11
Activating custom name servers
If your server has been setup with custom name servers, but your domains are still pointed at our public name servers you'll want to update these so that they are using your custom name servers instead.
You should have already at this point been given custom name server entries by our system administration team, or you specifically requested for them to be setup. For this example we'll be using the fake domain name MyCustomNameServer.com.
ns1.MyCustomNameServer.com 18.104.22.168 ns2.MyCustomNameServer.com 22.214.171.124
- Login to your domain Registrar where you registered the MyCustomNameServer.com domain name.
- Most Registrars will have a section similar to Maintain name servers under this domain, or it's sometime referred to as glue, or host records as well.
- Typically you'll just need to enter in the part before your domain name ns1 for instance, and then the IP address you were given for the custom name server.
- Repeat the same step again for the ns2 host as well.
- Now update all of your domains to point to your custom name servers.
Activate Your New Nameservers in AMP:
If your domain is register through us, you can activate (also knows as glue) your Custom Nameservers in AMP.
- Login to AMP.
- Move your mouse over the DOMAINS menu, and click the MANAGE DOMAINS link.
- Click the domain name you want to edit from the list.
- On the next screen click Create custom nameservers.
- In the Add Name Server section enter your custom nameservers, and your Shared IP for both nameservers. Click the Submit button to save your changes:
You will then see your new nameservers listed.
After making DNS changes like this, it can take a full 24-48 hours for the settings to fully propagate. Once they have updated, you should be able to query your domain's name server records again, and it should come back with the custom name server settings as the active name server addresses for that domain.
How do I find my custom nameserver IP's
- Log into WHM.
- Go to Home > DNS Functions > Edit DNS zone.
- Select your main domain from the list and click Edit.
You will see your ns1 and ns2 subdomain entries for your custom nameservers. The IP is located there. See image to the right.
2015-07-12 1:15 pm
I have a google web site where i use storage and mail. I only want to use your site for hosting web servers. How should I configure DNS is in this cast
2015-07-13 2:22 pm
You will want to use A records to point to the correct servers. Watch this video as it better explains it.
2017-06-28 10:32 pm
I have a domain registered in not in inmotionhosting. Inmotionhosting helped me set-up a CUSTOM NAMESERVER. Will it work or is my website accessible if my domain is not registered in inmotionhosting?
2017-06-29 7:41 am
Yes, your domain will work even if its not registered at InMotion Hosting.
2017-09-09 7:01 am
In my VPS can I have vanity nameservers for certain domains or do I have to have a single custom nameserver for all the domains?
2017-09-11 8:40 am
Yes, you can use any domain you want for your custom nameservers.
Also, individual cPanel accounts can setup vanity nameservers.