Domains

How to point your domain to your hosting

Reading time: about 4 minutes

You've bought a domain and a hosting plan, but visiting your website still shows the wrong page or nothing at all. Most of the time the cause is one setting: your domain doesn't know which hosting account to talk to. This guide explains how to connect the two.

What a nameserver does

When someone types your domain into a browser, the internet first asks a nameserver where that domain lives. A nameserver is like a directory. It tells the browser which server to visit for your website and your email.

Your domain registrar (the company where you bought the domain) starts with its own nameservers. To use your hosting, you change them to the ones your host gives you.

Step 1: get your nameservers from your host

After you sign up, your hosting welcome email or client area lists two nameservers. They usually look like ns1.yourdomain.com and ns2.yourdomain.com, or they use your host's own names.

Copy them exactly. A small typo is the most common reason a site fails to load.

Step 2: change them at your registrar

  1. Log in to your domain registrar.
  2. Open the domain and find Nameservers or DNS settings.
  3. Choose the option for custom nameservers, not the default ones.
  4. Paste the two nameservers and save.

If you want to keep your DNS records at the registrar instead, you can add an A record that points to your hosting IP address. Your host will tell you which one to use.

Step 3: wait for it to update

Nameserver changes spread across the internet over time. It usually takes a few hours, and sometimes up to 24 hours. Your site may work for some visitors before it works for others. That's normal.

Don't keep changing the settings while you wait. Each change restarts the clock.

Step 4: check it worked

Common problems

Need a hand? Ask the Serverpadi hosting assistant on our homepage, or open a support ticket from your client area. Business and Pro customers get priority help with domain setup.