Skip to content
New: Laravel Hosting, Node.js Hosting & GitHub DeploysSee the plans →
Products
Solutions
Developers

Guides

How to point your domain to Litehost

Two ways to connect a domain you already own, what actually happens while DNS propagates, and how to check the change landed before you worry.

Introduction

You do not have to transfer your domain to host with us. A domain registered at another company may serve your Litehost site once you tell it where to send visitors. You may do this by changing the nameservers or by changing the A record.

Changing the Nameservers

This option moves the whole DNS zone to us. Every record for the domain, including the website, mail, and subdomains, is managed in our panel. Use this option if you want to manage everything in one place.

At your registrar, replace the existing nameservers with:

ns1.getlitehost.net
ns2.getlitehost.net

Warning: Remove the registrar’s own nameservers at the same time. A leftover nameserver is the most common cause of a domain that works for some visitors and not others, because resolvers may receive either answer.

Changing the A Record

Use this option when something else already depends on your current DNS, such as mail handled by another provider. Leave the nameservers as they are and point the A record for the root domain, and the one for www, at the IP address shown for your site in the panel.

DNS Propagation

DNS changes are not instant. Resolvers across the internet hold a cached copy of the old answer until its TTL expires, and they expire at different times. As a result, a new site may load on your phone but not on your laptop for a while.

Most changes settle within a few hours, and the upper limit is 48 hours. You may check the current state from any machine:

dig +short NS yourdomain.com
dig +short yourdomain.com

The first command shows the domain’s current nameservers, and the second shows the IP it resolves to. When those match what you set, that resolver has caught up.

Mail Records

If you move your nameservers and your email is hosted elsewhere, you must recreate your email records. MX records, along with the SPF, DKIM, and DMARC records that let your mail be trusted, all live in DNS. If you move the zone without them, the website will come up and your mail will stop.

Copy those records before you change anything. If your mail is already on your Litehost account, this is handled for you.

Troubleshooting

Allow a few hours for the change to take effect, then check the following:

  1. Did the registrar save the change? Some panels require a second confirmation step.
  2. Are leftover nameservers from the old provider still listed?
  3. Does an old A record contradict the new one?

If all three look correct and the domain still does not resolve, open a ticket with the domain name and what you changed, and we will check the zone directly.

Keep reading

Other guides

Start building today

Laravel apps with queues and Horizon, WordPress stores, Node.js servers. One container with SSH, deploys from GitHub and people who answer. One bill a year.

Launch my site