If you have a reseller, VPS, or Flex Dedicated Server account, you can set up and use custom name servers. For example, if your domain were example.com, you could use custom name servers named ns1.example.com and ns2.example.com.
Configuring custom name servers is a two-step process. First, you must add A records for the custom name servers (or verify that you already have functioning A records for the name servers). Second, you must register the custom name servers with the domain's registrar.
If you have a reseller hosting account, the first step for configuring custom name servers is to create DNS A records for the hosts.
If you have a managed VPS or managed Flex Dedicated Server, you do not have to add any A records, because we set them up for you. (Though if you want, you can view, set up, and modify the A records yourself in cPanel by using the Simple or Advanced DNS Zone Editor.) To verify that the A records are configured, you can ping the name servers by typing the following command at the command prompt. Replace example.com with your own domain name:
Alternatively, you can type the following command to view the A records, replacing example.com with your own domain name:
After you have verified that the A records are configured, you can register the custom name servers by following the procedure below. If you need further assistance, please open a support ticket with our Guru Crew on the Customer Portal at https://my.a2hosting.com.
To create the custom name server A records for a reseller account, follow these steps:
After you have verified that your domain has the correct A records configured, you can register the name servers. The procedure to do this depends on where you registered the domain.
If you registered your domain with A2 Hosting, follow these steps to register the custom name servers:
Locate the domain that will use custom name servers, and then click Manage Domain:
On the Management Tools menu, select Register Nameservers:
If you are registering a name server for the first time, under Register a NameServer Name, type the name of the first name server in the Nameserver text box. This is normally ns1. Typically, name servers use names like ns1.example.com and ns2.example.com, where example.com represents your domain name.
The exact steps for registering custom name servers depend on the third-party provider that you are using.
However, generally you can do this by logging in to the registrar's web interface and looking for an option similar to “Register custom nameservers” or “Register hostname”. If you cannot find where to do this, contact the registrar's technical support.
For example, for information about how to set up custom name servers for domains registered with GoDaddy, please visit https://www.godaddy.com/help/add-my-own-host-names-as-nameservers-12320.
After you register the name servers with the third-party provider, go to the A2 Hosting Customer Portal at https://my.a2hosting.com to open a ticket, and we will enable the custom name servers for your account.