Web Hosting

How to Point Your Domain to Your Hosting

Connect your domain to your web hosting by changing nameservers or DNS records. Steps, how long it takes, and how to check that it worked.

To point a domain to your hosting, you change either the nameservers or the A record at the company where you registered the domain. After the change spreads across the internet, which can take minutes to a day or two, visitors reach your hosting account.

Nameservers or A record?

  • Change nameservers if you want your hosting to control all DNS for the domain. This is the simplest option for most new sites.
  • Change the A record if you want to keep DNS at your registrar, for example because email or other services depend on it. The A record points the domain to your hosting server's IP address.

Your nameservers and server IP address are in your hosting welcome email or client area.

Point your domain, step by step

  1. Find your hosting nameservers or server IP address in your welcome email or client area.
  2. Log in to the registrar where you bought the domain and open its DNS or nameserver settings.
  3. Replace the nameservers with the ones from your host, or change the A record for the domain to your server IP address.
  4. Save the change and wait for DNS to update. This can take from a few minutes up to 24 to 48 hours.
  5. Add the domain in cPanel if needed, then check that it opens your site and issue your SSL certificate.

How to check that it worked

Open your domain in a private window. You can also use a DNS checker such as WhatsMyDNS to see whether different locations already show your new records. Results can differ for a while because DNS answers are cached.

Do not break your email

If your email is hosted somewhere else and you change nameservers, your MX records move too, and email can stop working. Write down your current MX records first and recreate them in the new DNS, or use the A record method and leave email records alone.

Common problems

  • The old site still shows: DNS has not spread yet, or your device has cached it. Wait and try another network.
  • "Not secure" warning: SSL is issued only after the domain points to the hosting. Wait for DNS, then reload.
  • Wrong site appears: the domain is not added to the hosting account yet. Add it in cPanel.

Our team can answer questions at our contact page. When your domain works, continue with installing WordPress on cPanel, or see our web hosting plans.

Frequently asked questions

How long does it take for a domain to point to new hosting?

It can take from a few minutes to 24 or 48 hours for DNS changes to spread, depending on caching.

Should I change nameservers or the A record?

Change nameservers if the host should manage all DNS. Change the A record if you want to keep DNS at your registrar, for example to leave email records untouched.

Will changing nameservers break my email?

It can, because MX records move with DNS. Note your current MX records first and recreate them if needed.

Why does my domain still show the old site?

DNS may not have spread yet or your device cached it. Wait, try another network, and check with a DNS checker.

Where do I find my hosting nameservers?

They are in your hosting welcome email or your client area.