Introduction – How to Change Domain Nameserver (Pointing Domain to Hosting)
Maybe you are currently looking for a web hosting service, but your domain is in another service and you don’t know how to use it on your new web hosting. There are actually 3 ways to do this, including:
1. Transferring the domain to a new hosting service. Domain transfers will usually incur a small additional fee because the transferred domains are also renewed. However, as a benefit, your domain registration service will also be completely transferred to the new service and you will not need to be tied to a previous domain registrar.
2. Changing your DNS A record. This method requires changing the DNS A record to the IP address of your new hosting service. In some cases, this method is the only way to point the domain (pointing domain) but we don’t recommend this method because it creates dependency with the static IP of the hosting account. If this IP changes for some reason, your website will stop working and you will have to bother changing the A record again.
3. Changing the domain nameserver. This is the most recommended and popular way in the world of web hosting. By making a nameserver change, you transfer control of your domain DNS to a new web hosting service where you can effectively manage all controls.
In this tutorial, you will learn how to change the nameservers on the domain, or what is usually called by pointing the domain/domain to hosting. We will use the Hostinger platform as an example, but you can apply these steps in any hosting / domain service provider because they only differ in interface and navigation.
What you need
Before you start this domain pointing guide, let’s assume you already have:
- Access to your domain registrar’s control panel. The registrar is where you buy your domain.
- Access to your new hosting account
Step 1 – Get the address of the new nameservers
The first thing you have to do is find the nameserver addresses available on your new hosting account.
The fastest way to find the nameservers for your new hosting account is to view the information in the email sent by the hosting service when you first buy hosting, or from the documentation provided by your hosting service’s website. If you’re still confused about where to get one, contact your hosting service provider and ask them for the “DNS servers” or “name servers” for your domain.
For example, the following display is logged in to your hosting account and the Details section.
How to Pointing a Domain
Nameservers are usually shaped like ns1.companyname.com, ns2.companyname.com, etc., where companyname.com is usually the name/brand of your hosting service.
Generally, your hosting service will provide 2 or more nameservers that you can use. Write down all the nameservers. It would be even better if you save the email/web page that contains the nameserver info so that later you can immediately copy and paste it. Later in the next step, you must enter this nameserver information into the control panel where you purchased the domain (registrar), exactly as written.
Step 2 – Enter the nameservers to the domain control panel
Once you have the nameserver information, go to the domain control panel at your registrar. Don’t forget, this means you log into the system where you purchased the domain and go to where the domain management department is located.
- After logging in, look for the section that can set/change the domain name server. Usually, every registrar has a different way of doing this process but there is really no permanent way. Generally, please try the following steps to enter a page that can manage your nameservers:
- Find a way to see all of your domains registered with that registrar’s service. Sometimes this can be found on the Domain or Domain Manager (domain settings) page or other similar/similar pages.
- Select the domain for which you want to set the name server.
- Some registrars usually also create a Manage DNS or Set Nameserver menu/button (or the like), you can just click on the menu.
- If the actual name server field does not appear, look again at the Nameserver option or similar button/menu until you find something similar to this.
After you find a suitable page to change your nameserver, you will usually see a form that allows you to enter Nameserver # 1 (or “Primary Name Server”), Nameserver # 2 (or “Secondary Name Server”) and maybe a few others (such as nameservers are 3rd and 4th). The terms may not always be the same, but the basic meaning will still be your first nameservers, 2nd, and so on.
Fill in your nameservers, usually starting with ns1, into the Nameserver # 1 column. After that, type your 2nd name server, usually, the name starts with ns2, goes to Nameserver # 2, and so on. A domain name has at least 2 name servers associated with it. Some web hosting services provide more than 2, some only 2.There are also registrars that even allow you to use up to 6 name servers and some are fixed at 2.
- If you only have 2 nameservers to enter, but the registrar gives you up to 6 fields to fill in, then all you have to do is enter only 2 and leave the rest of the fields.
- If you have 3 nameservers to enter, but the registrar provides only 2 fields, then you only need to enter the first 2 nameservers.
Don’t worry about the nameserver fields that are not filled in or additional nameservers provided by your web hosting service that you cannot enter. Your domain name will still work fine without these additions. These nameservers are there to minimize redundancy so that your website will continue to work properly if one of the nameservers fails.
If you can’t find a place to configure the nameservers, or you don’t want to spend time looking around, you can look for the “Help” or “FAQ” menu which contains detailed information on your registrar’s website.
Worst of all, when you do end up giving up, you can simply send a message to your registrar’s technical support service asking them to help. You can also ask for help from your hosting service provider to configure the nameservers for you. If you provide them with access information to your domain control panel, they can easily help you right away.
After the nameservers are installed with details, it’s done. You only need to wait a moment for your website to be accessed using your domain name. Usually, it only takes a few hours for the machine to function properly.
Conclusion
With this tutorial, you can learn how to properly change domain nameservers. By getting the nameservers to use on your new web hosting account and implementing them in the control panel at your domain registrar, you have directed your domain to the new web hosting service. When propagation is done, complete control over the DNS and also your website will be owned by your new web hosting.
Greet