June 17, 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 web hosting with Hostinger! There is a plan for everyone.
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 problem happens because your domain is not connected 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. However, 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 records are designed to point to static IP addresses, it’s advisable not to use this method. If the IP changes, your website will stop working until you update the record.
The last method is changing the domain’s nameservers. This is the most recommended option as you can transfer your domain’s DNS control to the new hosting provider without changing your registrar.
Taking all considerations into account, we are going to show you how to change the domain’s nameservers. Note that we will be using Hostinger as an example, but you can use these steps as an example to point your domain to any web host.
First things first, find a list of nameservers from your new hosting provider. The information 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 hosting provider.
At Hostinger, you can find all DNS-related information in Hosting -> Accounts -> Details.
The list of nameservers often look like this:
Web hosts usually provide two or more nameservers. Take note of all these addresses because you’ll need to enter them into your domain registrar’s control panel.
The next step of pointing a domain name to a new host is to replace the domain’s old nameservers. Here’s how to do it:
Try to look for the registrar’s Help or FAQ page if you still cannot find the menu to set your nameservers. Alternatively, you can ask the customer support to enter the new nameservers for you.
Once the nameservers are set, you need to wait for the changes to take effect. This period is referred to as 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 web hosting provider, you need to point your domain to a new host to make your site accessible. Luckily, you can easily do that by changing the domain’s nameservers. Simply get the details of your new nameservers, copy it to the domain’s DNS settings, and wait for the DNS to propagate.
Now go ahead and try it yourself. Good luck!
April 24 2018
I appreciate the clarification on setting up Nameservers. I have a number of websites up with different hosting companies over the years. This is always a challenge to the person doing this for the first time. I appreciate the simplicity of your approach ... thanx ~bv
January 17 2020
That was quite helpful. it was self explanatory and straight to the point. thanks so much for the information.
February 05 2020
THAT's a good article! Thank you for your simplicity and clarity!
April 17 2020
A client has purchased several domains with one provider, but has a website hosted with another provider. The domains have all been configured to redirect to the main .com for the website, and the nameservers for the main .com domain have been changed to the host nameservers. What is unclear is whether the nameservers for the remaining domains (that are being redirected anyway) need to have their nameservers changed as well to the nameservers of the hosting provider.
Replied on April 21 2020
Hey Josh, If you are redirecting the domains to the main one, it is not necessary to change their name servers.
May 01 2020
Hi everyone. Thank you for the article. I just registered my domain in namecheap and just want to update my DNS in there (namecheap) so it can point it to my Hostinger address so I can start working on my website here now. How can I do it? I read the article but it is not clear to me. Thank you!