Knowledge Base

How to configure custom name servers

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.

Adding A records for the custom name servers

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:

ping ns1.example.com

Alternatively, you can type the following command to view the A records, replacing example.com with your own domain name:

dig ns1.example.com

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:

  1. Log in to WebHost Manager.
  2. From the WebHost Manager home screen, click DNS Functions, and then click Edit DNS Zone.
  3. Select the primary domain for your account, and then click Edit. The DNS zone information for the domain appears.
  4. Scroll down the page to the Add New Entries Below this Line section.
  5. In the first text box, type ns1. Leave the value 14400 in the second text box.
  6. In the list box, select A.
  7. In the IP or Hostname text box that appears, type the IP address for the first name server.
    You can find the IP address in your Welcome e-mail next to ns1.supercp.com under DNS Nameserver Information.
  8. In the second text box, type ns2. Leave the value 14400 in the second text box.
  9. In the list box, select A.
  10. In the IP or Hostname text box that appears, type the IP address for the second name server.
    You can find the IP address in your Welcome e-mail next to ns2.supercp.com under DNS Nameserver Information.
  11. Scroll to the end of the page, and then click Save. You are now ready to register the name servers.

Registering the custom name servers

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.

Domains registered with A2 Hosting

If you registered your domain with A2 Hosting, follow these steps to register the custom name servers:

  1. Log in to the Customer Portal.
    If you do not know how to log in to the Customer Portal, please see this article.
  2. Under Manage Your Domains, click My Domains:

    Customer Portal - Manage services and domains

  3. Locate the domain that will use custom name servers, and then click Manage Domain:

    Customer Portal - Domain list

  4. On the Management Tools menu, select Register Nameservers:

    Customer Portal - Register Nameservers menu

  5. 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.

    Customer Portal - Register name server

  6. Type the IP address associated with the name server. For A2 Hosting VPS plans, you can find this information in the Welcome e-mail.
  7. Click Save Changes.
  8. Repeat steps 5 to 7 for the second name server. Typically, the second name server is named ns2.
Domains registered with a third-party provider

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.

Activating the custom name servers with A2 Hosting

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.