How to Point a Domain Name to Hostinger (Updated 2019)
access_time
hourglass_empty
person_outline

How to Point a Domain Name to Hostinger (Updated 2019)

Knowing how to point a domain to Hostinger is important if you’re using our server but bought the domain from somewhere else. Keep on reading as this tutorial will show you how to connect the name to our service!

Before starting this tutorial, take into account that DNS changes can take up to 24 hours to fully propagate worldwide.

How to Point a Domain Name to Hostinger

There are two main ways to point a domain name to Hostinger:

  • Changing the nameservers at 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 enables you to transfer the control of your domain settings to our hPanel, making management convenient.
  • Pointing the domain name via 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. Unless you’re sure the IP address is going to be static, this procedure is not recommended.

This guide shows how to point a domain name if it’s NOT registered with Hostinger. For a general tutorial on pointing a domain name to another provider, check out this tutorial.

Changing Domain Nameservers (Recommended)

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:

  1. Find the nameservers for your Hostinger account. You can do this by accessing hPanel’s DNS Zone Editor and scrolling down to find NS (Nameservers). We use four nameservers to ensure stability and maximum connectivity. So if one nameserver failed, others would resolve the requests.
  2. All nameservers correspond to an IP address, which you can locate by scrolling up to the A (Host) section. While in most cases you only need the names, some registrars may require the IP as well.
    How to find your IP address in hPanel's A Records.
  3. Log in to your domain registrar’s control panel. If you’ve forgotten the name of the registrar’s company, use whois lookup.
  4. Go to the DNS Zone Editor. Depending on the registrar, it can be named differently. The most common ones are DNS editor, Manage DNS Settings, Change Nameservers, DNS Details, etc.
  5. Delete all values from the nameserver fields (if any) and input Hostinger’s nameservers. Save changes.

Allow up to 24 hours for DNS to fully propagate worldwide.

Pointing a Domain Name via A Record

As mentioned earlier, it’s an alternative you can try if you wish to keep the control of your DNS zone at your domain’s registrar. It consists of two primary steps:

Step 1: Changing A Records

A Record maps a domain name to its appropriate IP address. Therefore, if you want to point your domain name to Hostinger, you can modify these records by replacing the old IP address with the one from Hostinger.

In most cases, you have to create two A records for your domain name: one with the www subdomain and one without.

For instance, if you have a domain named yourdomain.com and want to point it to 212.1.212.62 as its IP address, you need to create A Record entries that look like this:

Pointing cPanel's A Record to Hostinger

It’s also possible that your www subdomain is pointed via the CNAME (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. Each field stands for:

  • Name/Host – the domain or the subdomain you want to point to. Some registrars use @ symbol instead of a name to represent the root domain.
  • TTL – short for Time to Live. It determines how long the server caches DNS-related information before refreshing it. The default value is usually 14400 seconds (4 hours).
  • Type – record type.
  • Record/Address – the target IP address.

Step 2: Changing MX Record for Email

MX record specifies mail servers that handle incoming emails. If you want to use Hostinger servers to receive emails sent to your domain, you need to change your domain’s MX record.

At Hostinger, the MX record can be found in DNS Zone Editor as well.

How to find the MX record in hPanel.Take note of the mail server’s address. After that, open your domain’s MX record and replace the old mail server:Pointing cPanel's MX Record to Hostinger

  • Name – 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.
  • Type – record type.
  • Address/Points to – destination/address of the server responsible for receiving emails.

Conclusion

By finishing this tutorial, we have learned the two ways to point a domain name to Hostinger. The first is by changing the nameservers, and the second is by changing your registrar’s A Record.

We recommend the first option as it automatically sets your domain with our IP Address so you don’t have to go to another hassle if it changes one day.

So what do you think? Which method will you choose? Let us know in the comments below!

The Author

Author

Domantas G. / @domantas

Domantas leads the content and SEO teams forward with fresh ideas and out of the box approaches. Armed with extensive SEO and marketing knowledge, he aims to spread the word of Hostinger to every corner of the world. During his free time, Domantas likes to hone his web development skills and travel to exotic places.

Related tutorials

Author

Angu Ransom Reply

November 11, 2019

Thanks for the post. Just got clarified after facing some issues with setting up domain on Name cheap to work here. Its all find now.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Become a part of Hostinger now!

More in DNS
What is a PTR Record and How to Do Reverse IP Lookup
What is a PTR Record and How to Do Reverse IP Lookup?

Close