November 11, 2020
In this article, you are going to learn how to point a domain to a host by changing the domain’s nameservers. This way, you can move your site to another hosting provider while still keeping the old domain name.
Upgrade your own web hosting with Hostinger! There is a policy for everyone.
Directing a Domain to a Host
Let’s say you have just moved your site to another hosting provider. However , your domain name stayed with the old hosting company, and it does not direct visitors to your website.
This issue happens because your domain is not coupled to the new web host. You have several options on how to solve this issue, but in practice, we only recommend using one method.
You can transfer the domain to the new hosting provider. Nevertheless , domain transfer usually includes additional charges as the domain will be renewed for another year.
The second option is to update the domain’s DNS A record with your new IP address. Nevertheless, since A information are designed to point to static IP contact information, it’s advisable not to use this method. If the IP changes, your website will minimize working until you update the record.
The last method is transforming the domain’s nameservers. This is the most recommended option as you can transfer your domain’s DNS control to the new web hosting provider without changing your registrar.
How to Stage a Domain to a New Host?
Taking most considerations into account, we are going to show you the way to change the domain’s nameservers. Note that we will be using Hostinger as an example, but you can make use of these steps as an example to point your domain to any web host.
1 . Get the New Nameserver Values
First things first, find a list of nameservers from your new hosting provider. The info is usually provided on the company’s documentation page or in the post-purchase email.
If you still can’t find the info, you should contact your own hosting provider.
From Hostinger, you can find all DNS-related information in Hosting -> Accounts -> Details .
The list of nameservers often appear to be this:
ns1. dns-parking. com
ns2. dns-parking. com
Web hosts usually provide two or more nameservers. Take note of all these addresses because you’ll need to enter all of them into your domain registrar’s control panel.
2 . Apply the New Nameservers Values
The next thing of pointing a domain name to some new host is to replace the particular domain’s old nameservers. Here’s how to do it:
- Sign in to your domain name registrar. Remember, this is the place where you bought your area.
- Look for the option to create your domain’s nameservers. Every registrar has a different way of doing this. However , in general, you can find the appropriate settings at the menu called Website Management , or Domain Overview , or something along those lines.
- In hPanel, go to Domains -> [your domain name] -> DNS . Select the Use my own nameservers option.
You should see many fields, such as Nameserver 1 (primary nameserver), Nameserver 2 (secondary nameserver), that will almost certainly be filled with Hostinger’s default nameservers.
- Enter the nameservers to the appropriate fields. For example , a nameserver that begins with ns1 should be placed into the Nameserver one field, if it starts with ns2 to Nameserver 2 , and so on.
NOTE: If you see the Make child nameservers industry, you can ignore it.
Keep these tips in mind should there be any kind of difference between the number of nameservers as well as the number of available fields:
- If your hosting provider only gives you two nameservers, but your registrar provides you with four or more fields, enter the first two, leaving the other types empty.
- If your web hosting provider gives you three nameservers, but your registrar only allows you to enter 2, use the first two nameservers.
Try to look for the registrar’s Help or FAQ page if you still are unable to find the menu to set your nameservers. Alternatively, you can ask Customer Support to include the new nameservers for you.
3. Wait for DNS Propagation
Once the nameservers are set, you need to wait for the particular changes to take effect. This period is called worldwide DNS propagation.
The process typically takes a few hours, but it can also last up to two days. You might want to flush your DNS cache to speed up the process.
After moving to another website hosting provider, you need to point your site to a new host to make your site accessible. Luckily, you can easily do that by changing the domain’s nameservers. Merely get the details of your new nameservers, copy it to the domain’s DNS settings, and wait for the DNS to propagate.