DNS

How to Point Domain Name to Hostinger

How to point domain name to Hostinger

Introduction

For visitors to access your website, it needs to have an address – a domain name. If you’ve registered a domain name at Hostinger, it’s automatically pointed to your hosting account and no further actions are required. However, if you’ve decided to use a domain name that’s registered with a 3rd party registrar, you’ll need to point it to your Hostinger server.

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

  • By changing the nameservers at your domain name registrar. This method is recommended since your DNS zone will be configured automatically. By pointing the domain name to Hostinger nameservers, you’ll be able to administrate the DNS zone at Hostinger’s control panel.
  • By pointing the domain name via A record. This method requires more technical knowledge, since you’ll have to manually change the DNS records. Moreover, your DNS zone won’t be automatically updated. For example, if you create a subdomain name at Hostinger, you’ll have to create an appropriate A record in your DNS zone manually.

IMPORTANT: This tutorial shows how to point a domain name if it’s NOT registered with Hostinger. For general tutorial, showing how to point a domain name to any other provider, click here.

Glossary:

What is DNS?

The DNS (Domain Name System) converts an easy to remember address to a physical IP address. It’s like a phone book of Internet. For example, when you type in www.hostinger.com in your browser, the DNS system converts this address to the actual IP address where our website is hosted.

What is a DNS Zone?

DNS zone is a file which contains all DNS records for a specific domain.

What is a nameserver?

Nameserver stores the DNS server records for your domain. Nameservers are responsible for providing the IP address of the domain name. It allows you to access websites by using domain names instead of IP addresses. By changing nameservers, you can point a domain name to a different hosting provider.

What is an A record?

A record is the most basic, yet most commonly used DNS record. A record maps a domain name or a subdomain to an IP address. It’s used to point a domain or a subdomain to an IP address when the IP address is known and permanent.

What is an MX record?

The MX (mail exchanger) record is an entry in DNS zone which specifies the mail server that is responsible for receiving email messages. For example, if you set Google’s MX record for your domain name, any email sent to your domain name will be routed to Google’s servers.

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

What you’ll need:

  • Access to Hostinger’s control panel
  • Access to your domain name registrar

Option 1 – Changing Domain Nameservers (Recommended)

This option is recommended since your DNS zone will be auto-configured. It means that you won’t have to change any individual DNS records at your registrar. In order to point your domain to Hostinger nameservers, follow these steps:

Step 1 – Finding Hostinger Nameservers

First of all, you need to find out the nameservers for your account. At Hostinger, you can easily find them at Hosting Account Control Panel -> Details section, under Nameserver Details panel.

Hostinger Nameservers

IMPORTANT: Depending on your country, the nameservers for your Hostinger account may differ.

At Hostinger, we use four nameservers in order to ensure stability and maximum connectivity. So if one nameserver failed, others would resolve the requests.

As you can see, each nameserver has a corresponding IP address. However, in most cases, you will need only the names, so copy them.

Step 2 – Changing The Nameservers

Once you have the nameservers, you can change them at your domain name registrar. A registrar is a company that manages domain name registrations. In simple words, it’s a company where you have registered a domain name. If you’ve forgotten the name of the company where you’ve registered the domain name, use whois lookup.

Process of changing nameservers on various registrars is quite similar:

  1. Log in to your registrar’s control panel.
  2. Find the DNS change option. Depending on the registrar, it can be named differently. Most common names contain: DNS editor, Manage DNS Settings, Change Nameservers, DNS Details.
  3. Delete all values from the nameserver fields and input Hostinger nameservers. Save changes.
  4. Allow up to 24 hours for DNS to fully propagate worldwide.

Instructions for changing nameservers at major registrars:

GoDaddy
  1. Access your GoDaddy account.
  2. Click on User Icon which is located at the top-right corner.
    Click on user icon
  3. Now hit Manage button near Domains.
  4. Click on Gear icon and choose Manage DNS.
  5. Click Change under Nameserver.
  6. From the dropdown menu select Custom and enter Hostinger’s nameservers.
    Change nameservers at GoDaddy
  7. Once you are done press Save button and allow up to 24 hours for changes to take affect.
FastDomain
  1. Access FastDomain Control Panel.
  2. Hit the Domains tab along the top.
  3. Choose the domain name you want to point and put a tick next to it.
  4. Now click Name Servers tab on the right.
  5. Choose Use Custom Nameservers.
  6. Enter Hostinger’s nameservers.
  7. Hit Save Nameserver Settings button and allow 24 hours for DNS to fully propagate.
eNom.com
  1. Access your eNom account.
  2. Click My Domains, under Domains menu option.
  3. Select domain name you want to point.
  4. Click on DNS Server Settings
  5. Choose Custom and enter Hostinger’s nameservers.
  6. Click Save button and allow up to 24 hours for DNS to fully propagate.
NetworkSolutions
  1. Login to Network Solutions account manager.
  2. Hit My Domain Names button.
    network solutions my domain names
  3. Select domain name which you want to point to Hostinger and click Change Where Domain Points button.
  4. Now choose Domain Name Server (DNS) and hit Continue.
  5. Enter Hostinger’s nameservers and click Continue and then Apply Changes buttons.
  6. Allow up to 24 hours for DNS to fully propagate.
Hover
  1. Access your Hover control panel.
  2. Click on Your Account and choose Domains.
    Your Account
  3. Click Edit button next to the domain name you want to point to Hostinger.
    Click on Edit Domain
  4. Click Edit Nameservers from the menu.
  5. Enter first two Hostinger’s namesevers and then click + Another Nameserver and add the rest two. Once you are done click Save Nameservers button.
  6. Allow up to 24 hours for changes to fully propagate worldwide.
1&1
  1. Access your 1&1 account click on Domain Center.
  2. Choose the domain name you want to point to Hostinger.
  3. In the DNS Settings tab click Edit.
  4. Choose Other name servers.

  5. Enter Hostinger’s namesevers. You will have to click Additional name servers for additional fields to appear.
  6. Hit Save button to apply changes and allow up to 24 hours for DNS to fully propagate worldwide.
Name.com
  1. Access your Name.com account and select the domain name you want to point to Hostinger.
  2. In the Nameservers tab click Delete All in order to remove your current namesevers.
  3. Use Add Nameserver field and Add all four Hostinger’s nameservers.
  4. Hit Apply Changes and allow up to 24 hours for DNS to fully propagate.
Register.com
  1. Access your Register.com account.
  2. Choose the domain name you want to point to Hostinger.
  3. Locate DOMAIN NAME SYSTEM SERVERS (DNS SERVERS) option. Enter Hostigner’s nameservers under New DNS server.
  4. Press Continue and allow up to 24 hours for DNS to fully propagate.

Option 2 – Pointing a Domain Name via A Record

Step 1 – Changing A Record

If you want to keep your DNS zone at your domain’s registrar, you’ll have to change the domain’s A record (Address Record). A record maps the domain name to the appropriate IP address and is used to locate the server from the name, so that you would not have to enter the IP address every time you wanted to open your website.

The IP address for your Hostinger account can be found on the same Details section as your nameservers:

Hostinger Nameservers

In most cases you will have to create two A records for your domain name: one with www subdomain and one without. For instance, if you have a domain name example.com and you want to point it to 31.220.104.172 IP address, you will have to create the following A records:

NameTTLTypeAddress
example.com14400A31.220.104.172
www.example.com14400A31.220.104.172

It’s also possible that your www subdomain is pointed via CNAME record. In this case, you would have to change only the A record for your root domain name:

NameTTLTypeAddress
example.com14400A31.220.104.172
www.example.com14400CNAMEexample.com

Dont’ worry if you see a slightly different view at your registrar, just create values that have a similar look to the ones shown above or edit the already existing records to match your new IP address.

  • Name – your domain name or the subdomain you want to point.
  • TTL – short for Time to Live. Time to Live determines the period of time, after which, the server refreshes its DNS related information. The default value of most providers is 14400 seconds.
  • Type – record type.
  • Address – IP address to point a domain name to.

Step 2 – Changing MX Record for Email

If you have pointed your domain name to Hostinger via A record and want to use Hostinger servers in order to receive emails, you’ll have to change the MX record (Mail Exchanger) accordingly. MX record determines the incoming mail server, which receives emails sent to your domain name.

At Hostinger, the MX record can be found in Details section, under E-mail Details panel.

Hostinger MX Record

In most cases, you should be able to set the MX record in the same section. Setting the MX record is similar to setting the A record, simply change the address value to match your Hostinger’s account address:

NamePriorityTypeAddress
yourdomain.com0MXmx1.hostinger.com
  • Name – your domain name.
  • Priority – this field is used to determine which address should be used to receive the emails if you have more than one MX record. The lowest number represents the highest priority.
  • Type – record type.
  • Address – destination / address of the server, responsible for receiving emails.

Conclusion

By finishing this tutorial, you have learned two ways to point your domain name to Hostinger. Once DNS propagation is complete, your website will be easily accessible worldwide.

Add Comment

Click here to post a comment

Join thousands of subscribers worldwide

and get awesome deals & the newest tutorials to your email

Please wait...

Thank you for sign up!

More in DNS
How to Change Domain Nameservers (point domain to new hosting provider)

Close