Guide · Domains

How to Point Your Domain to Your Hosting (Step by Step)

Local preview: this post is a draft and is not visible on serversalad.com.

You bought a domain name from one company and your hosting from another, and now the two need to find each other. Pointing the domain to your hosting takes about ten minutes of work, plus a wait while the change spreads across the internet.

Before you start

  • Your hosting account is active, and you have the welcome email with your nameservers.
  • You can log in to the place where you registered the domain (your registrar).
  • Time: about 10 minutes, then up to 24 hours of waiting. Difficulty: beginner.

Do not have hosting yet? See the cPanel hosting plans first.

Step 1: Test your site before you switch

By the end of this step you will know your site works on the new server, so you can switch the domain with confidence. Every Server Salad plan includes a temporary preview URL for this.

  1. Open the preview URL from your welcome email or your cPanel account.
  2. Click through your pages, forms and logins.

Check: your pages open on the preview URL and look the way you expect.

Step 2: Find your nameservers

By the end of this step you will have the two nameserver names written down.

  1. Open your hosting welcome email.
  2. Copy the nameservers exactly as written. They look like two web addresses.

Check: you have two nameservers, and no spaces or extra characters before or after them.

Step 3: Change the nameservers at your registrar

By the end of this step your registrar will send visitors to your Server Salad hosting.

  1. Log in to your registrar and open the domain you want to connect.
  2. Find the section called Nameservers or DNS. Choose the option to use custom nameservers.
  3. Replace the existing nameservers with the two from your email, then save.

Check: the registrar shows your two new nameservers on the domain page.

Step 4: Wait, then check

By the end of this step your domain will open your new site. The change is not instant: it can take a few hours, and sometimes up to 24 hours, to reach everyone.

  1. Open your domain in a private browser window now and then.
  2. When you see your new site, also check the padlock for SSL.

Check: your domain opens the site you saw on the preview URL.

Another way: change one record instead

If you want to keep your DNS at your registrar, for example because your email is hosted elsewhere, you can leave the nameservers alone and change the A record for your domain to your hosting server's IP address instead. Your server's IP address is shown in cPanel. If you are not sure which way suits you, contact our team and we will tell you.

What to do next

Once the domain works, install your site. Our guide to installing WordPress on cPanel takes about five minutes. If you are moving an existing website, read how free migration works before you switch.

Common problems

You still see the old site. The change has not reached your network yet. Wait a few hours, then try a private window or another device on mobile data.

The browser shows a security warning. The SSL certificate is issued after the domain reaches the server, so this can appear for a short time right after the switch. Wait and reload. If it stays, contact our team.

Your email stopped working. If your email was handled by your old host, changing nameservers moves the DNS records too. Recreate your email records in cPanel before you switch, or ask us to help.

FAQ

How long does pointing a domain take?

The steps take about ten minutes. The change then spreads across the internet, which usually takes a few hours and can take up to 24 hours.

Do I have to transfer my domain to Server Salad?

No. Your domain can stay with your current registrar, because the nameservers or DNS records can be changed from any registrar.

Will my website go offline while I switch?

It should not, if you test on the preview URL first and switch at a quiet time. Visitors reach the old site until the change reaches them, then the new one.

Related reading