How to Change a Domain’s Nameservers?

How to Change a Domain’s Nameservers?

If you need to move your website to a new web hosting provider while having the same domain name, you need to know how you can designate a domain to a host by changing the domain’s nameserver. In case you have already migrated your site to a different hosting provider, but your domain name is with the former hosting company and it does not direct traffic to your website. This happens because your domain is not connected to the new web host. So in this article, we will discuss how to change the domain’s nameserver.

Change a Domain’s Nameserver

There are generally two ways to change a domain’s nameserver. The first one is to transfer a domain to a new hosting provider and the second option is to update the domain’s DNS A Record with your new IP address.

Change a Domain’s Nameserver

As A Records are intended to point to static IP addresses, i.e if the IP changes, your website will stop working until you update the record. So it is suggested not to use this technique.

Step 1: Get New Nameserver Values

First of all, you have to obtain a record of nameservers from your new hosting provider. The data is normally stored on the company’s documentation page or in the post-purchase email.

Get New Nameserver Values

If you still can’t find the information, you can ask for help from the customer support team of your hosting provider.

Web hosts normally present two or more nameservers. Make a record of all these addresses because you’ll need to enter them into your domain registrar’s control panel.

Step 2: Apply New Nameserver Values

The next step of transferring a domain name to a new host is to substitute the domain’s previous nameservers. Given below are the instructions to do it:

  1. Login to your domain name registrar. Note, this is the place where you purchased your domain.
  2. Search for the option to insert your domain’s nameservers. Every registrar has a distinct method of doing this. But, in common, you can get the relevant settings on the menu called Domains, Domain Manager, or something comparable. Locate a segment that states Nameservers, Updates Nameservers, Manage DNS, or other related menus.
  3. You will notice various fields: Nameserver #1 (primary nameserver), Nameserver #2 (secondary nameserver), and possibly even more.
  4. Insert the nameservers into the relevant entries. A nameserver that starts with ns1 should be inserted into Nameserver #1 field, ns2 to Nameserver #2, and so on. If you notice Create child nameservers fields, just neglect them.

Apply New Nameserver Values

Just keep the following instructions in mind if you encounter any discrepancy between the number of nameservers and the number of available entries:

  • If your hosting provider only provides you two nameservers but your registrar offers you four or six fields, insert the first two and leave the other entries blank.
  • If your hosting provider provides you three nameservers but your registrar only permits you to insert two, use the first two nameservers.

Step 3: Wait for DNS Propagation

Once the nameservers are inserted, you have to wait for the changes to take effect. This period is referred to as worldwide DNS propagation.

DNS Propagation

The process normally requires a few hours, but it can also last up to two days. So be patient.

Leave a comment