Sep 01, 2023
Domantas G. & Ignas R.
How to Point a Domain Name to Hostinger Using Hostinger Nameservers or A Record
This guide will present you with two methods to point your domain to Hostinger. The first option involves using Hostinger nameservers, while the second method utilizes A records. By following these steps, you can seamlessly integrate your domain with Hostinger’s hosting services, ensuring a smooth online experience for your website visitors.
Important! Before we start, take into account that DNS changes can take up to 24 hours to fully propagate worldwide.
What Does Domain Pointing Mean?
When you point to a domain, you connect your domain name to the correct server that stores your website’s data. This way, you can connect with different service providers and have the optimal setup for your website.
How to Point Your Domain to Hostinger – Video Tutorial
In this Hostinger Academy video, you will learn how to point a domain name to a new host from any domain registrar.
How to Point a Domain Name to Hostinger Nameservers
You can easily find Hostinger’s nameservers on hPanel. They are as follows:
For DNS to resolve correctly, make sure that the domain is added to a hosting plan first before pointing it anywhere else. This will ensure that the domain will have an active DNS zone.
You should use these nameservers to point your domain to Hostinger. There are two ways to do so:
- Changing the nameservers to your domain name registrar. This method is recommended since your DNS zone will be automatically configured to match the hosting’s IP address. Plus, it allows you to transfer the control of your domain settings to Hostinger’s hPanel, making management convenient.
- Pointing the domain name via an A record. This method requires you to change the IP address connected to the DNS records. That way, your domain control stays in the registrar. This procedure is only recommended if you’re sure the IP address will be static. Remember that with this method, you must create and check a new A record each time you make a subdomain.
Important! This guide shows how to point to a domain name if it’s NOT registered with Hostinger. For a general tutorial on pointing a domain name to another provider, check out our tutorial on How to Change Domain Nameservers.
Changing Domain Nameservers (Recommended Method)
The process of changing nameservers on various registrars is quite similar. Here’s what you need to do to point your domain name to Hostinger:
- Find Hostinger’s nameservers by accessing the hPanel. You can do this by opening hPanel’s DNS Zone Editor and entering “ns” into the search bar. We use two nameservers to ensure stability and maximum connectivity. So, if one nameserver fails, the other will resolve the requests.
- All nameservers correspond to an IP address, which you can locate by opening the Details section on hPanel. While in most cases you only need the names, some registrars may require the IP as well:
ns1.dns-parking.com (220.127.116.11) ns2.dns-parking.com (18.104.22.168)
- Log in to your domain registrar’s control panel. If you need to remember the name of the registrar’s company, use WHOIS lookup.
- Search for your domain registrar’s own DNS Zone Editor. However, depending on the registrar, it can be named differently. Common names include “DNS Editor,” “Manage DNS Settings,” “Change Nameservers,” or DNS Details.
- Delete all values (if any) from the nameserver fields and replace them with Hostinger’s nameservers. Save your changes.
- It might take up to 24 hours for DNS to fully propagate worldwide. However, another option is to edit the nameservers via the dedicated nameservers section.
Important! It’s NOT recommended to edit the NS records directly in the DNS zone. We highly suggest making changes in a dedicated NS section instead. However, if the registrar doesn’t have such a section, proceed with the changes.
Pointing a Domain Name via A Record
Alternatively, if you want to keep on managing the DNS zone via the original registrar, you can opt for the A record option.
Step 1: Changing A Records
A Record maps a domain name to its appropriate IP address. Therefore, you can modify these records by replacing the old IP address with Hostinger’s nameservers to point your domain name correctly.
In most cases, you must create two A records for your domain name – one with the www subdomain and one without.
For instance, if you have a domain named domain.tld and want to point it to 22.214.171.124 as its IP address, you need to create A Record entries that look similar to the image below.
Important! It’s also possible that your www subdomain is pointed to the CNAME (an alias) record. In that case, you only have to change the A record for your root domain name.
Don’t worry if you see a slightly different view at your registrar. Just fill in the values that look similar to the ones shown above. Here’s what each field refers to:
- Name/Host – the domain or the subdomain you want to point to. Some registrars use the “@” symbol instead of a name to represent the root domain.
- TTL – is short for time-to-live. It determines how long the server caches DNS-related information before refreshing it. The default value is usually 14,400 seconds.
- Type – the record type.
- Record/Address – the target IPv4 address.
Step 2: Changing MX Record for Email (Optional)
Changing MX records is OPTIONAL. This step is only required if you also want to use Hostinger’s email services.
To use a different email service, update the MX records on your DNS zone at Hostinger with your email provider’s information. Make sure to do this after the nameserver change has fully propagated.
The MX record specifies mail servers that handle incoming emails. To use Hostinger servers to receive emails sent to your domain, you need to change your domain’s MX records.
At Hostinger, the MX records can also be found in the DNS Zone Editor.
Take note of the mail server’s address. Then, open your domain’s MX record and replace the old mail server:
- Name – “@” symbol should be used as your domain name.
- Priority – if you have more than one server, this field determines the priority of each server. The lowest number represents the highest priority. We recommend sticking with “5” or “10” priority.
- Type – you should select MX as your record type here.
- Address/Points to – destination/address of the server responsible for receiving emails. Hostinger’s default MX records are:
Step 3: Changing AAAA Record for Email (Optional)
Unlike an A record, which maps the IPv4 of your hosting server to a domain, an AAAA record maps the IPv6 address.
If you are an advanced user and want to point your domain via AAAA and A records, proceed with the instructions below. However, remember that your hosting will work without any issues, even with an A record only.
At Hostinger, AAAA records can be found in the DNS Zone Editor.
Fill in the values that look similar to the ones shown above. Each field stands for:
- Name/Host – the domain or the subdomain you want to point to. Depending on the registrar, you can use the “@” symbol or the root domain name.
- TTL – is short for time-to-live, and it determines how long the server caches DNS-related information before refreshing it. The default value is usually 14,400 seconds.
- Type – record type, choose AAAA.
- Record/Address – target IPv6 address.
Connecting and pointing your domain to the correct nameservers is the key aspect of getting your website up and running. We discussed the procedures to point your domain to Hostinger using both nameservers and A records.
We highly recommend the nameservers method, as it streamlines the process by eliminating the need to set up emails, subdomains, and confirmation records individually. However, the A records method can give you more control on the nameservers settings for a more advanced configuration.
We hope that you found this tutorial helpful. In case you have any questions, leave them in the comments section below.
How to Point a Domain – FAQ
Here are a few of the most frequently asked questions on how to point a domain.
Why Is My Domain Not Pointing to Hostinger?
The activation process may take a few hours to complete, especially if you have just bought your domain. If you recently pointed your domain to Hostinger, the changes may take up to 24 hours to propagate.
There may also be a problem with the domain verification process in general. Propagation can be checked live via tools like the DNS Checker.
How Do I Point My GoDaddy Site to Hostinger?
To point your GoDaddy Site to Hostinger, log in to your GoDaddy account and access the DNS management page of your domain. Take note of the NS records and update these records in your domain’s DNS zone. You might also consider transferring your GoDaddy domain to Hostinger completely.
How Do I Check My DNS Pointing?
Simply log in to your hosting account, select the domain, and view the current NS and A records. You can also check the propagation using the DNS Checker tool.