Skip to content
›How to Connect a Domain Name t...

How to Connect a Domain Name to Web Hosting (Nameservers Guide)

In This Guide
Quick answer
  • To connect a domain bought elsewhere to your web host, change the domain’s nameservers to the ones your host gives you.
  • Find your host’s nameservers in your hosting dashboard or welcome email, then update them at your domain registrar.
  • Changes can take up to 24 to 48 hours to work everywhere, though it’s often faster.
  • Alternatively, keep your nameservers and point an A record to your host’s IP address.
Bought your domain in one place and your hosting in another? You need to connect them. The usual way is to update your nameservers. It takes a few minutes, plus some waiting time.

What are nameservers?

Nameservers tell the internet where to find the DNS records for your domain. When you point them to your host, your host controls where your domain goes.

Step 1: Find your host’s nameservers

Look in your hosting dashboard or welcome email. They usually look like ns1.yourhost.com and ns2.yourhost.com.

Step 2: Update them at your registrar

  • Log in to the company where you bought your domain.
  • Open the domain’s settings and find Nameservers (sometimes under DNS).
  • Choose “custom nameservers”.
  • Replace the existing entries with your host’s nameservers and save.

Step 3: Add the domain in your hosting account

Add the domain to your hosting plan (as the main domain or an addon domain), then install WordPress if needed.

Step 4: Wait for DNS to update

DNS changes can take up to 24 to 48 hours to spread worldwide, though it’s often much quicker. You can check progress with an online DNS lookup tool.

Alternative: use an A record

If you want to keep your current DNS provider (for example for email), add an A record pointing your domain to your host’s IP address, plus a CNAME for www.

Common problems

  • Site not loading: wait longer, then clear your browser cache.
  • Email stopped working: you need to recreate MX records at the new DNS provider.
  • SSL error: your host issues the free SSL once DNS points to it.

FAQs

Sharing is caring

Popular on Bloggersutra Right Now!

Disclosure: Our content is reader-supported. If you click some of our links, we may earn a commission at no extra cost to you. See how Bloggersutra is funded. Here is our editorial process.

About the Editorial Staff

Editorial Staff at Bloggersutra is a team of WordPress writers led by Munish Siwatch, who has worked on website design and blogging since 2009. We write tutorials, reviews and guides that help beginners start, run and grow a WordPress website.

Join the Conversation

Leave a comment


Free WordPress Guides

Follow Bloggersutra for fresh WordPress tips.

WordPress Deals & Coupons

Save on hosting, themes, plugins and blogging tools.

Latest Posts

Start Your WordPress Blog

Follow our beginner guides, from choosing a host to publishing your first post.

Deals & Coupons

Up to 89% off
20% off your first year
Up to 60% off + free domain