How to point your domain to your hosting
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
- Log in to your domain registrar.
- Open the domain and find Nameservers or DNS settings.
- Choose the option for custom nameservers, not the default ones.
- 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
- Visit your domain in a private browser window. If your site or your host's placeholder page appears, the change has worked.
- In cPanel, open the domain's status or AutoSSL page. A padlock should appear once HTTPS is issued.
- If you're still stuck after 24 hours, check the nameserver spelling first, then contact support.
Common problems
- Old site still showing: clear your browser cache or wait for the old record to expire.
- Email stopped working: your mail records may need to be added again at your new host.
- Padlock warning: SSL isn't issued yet. Wait an hour after the domain points correctly, then check again.
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.