A registered domain and a ready hosting account do not connect themselves. Something has to tell the internet which server to send visitors to when they type your domain name, and that something is a DNS record. Here is what actually needs to happen, in the order it needs to happen.

The two common ways to connect a domain

There are two standard approaches, and most hosting providers support both. Changing nameservers hands over DNS management entirely to the hosting provider, which then controls every record for the domain. Editing individual records, most often the A record, keeps DNS management with the domain registrar and just changes where specific records point.

  • Nameserver change: simplest when the hosting provider will manage all DNS for the domain going forward.
  • A record change: better when you need to keep some DNS records, such as existing email routing, managed elsewhere.

Changing nameservers

Your hosting provider will give you a set of nameserver addresses. Log in to the account where the domain is registered, find the DNS or nameserver settings for that domain, and replace the existing nameservers with the ones provided. This single change hands off control of every DNS record, including email, to the hosting provider's DNS system.

Editing the A record directly

If you would rather leave nameservers alone, find the domain's DNS management screen and locate the A record for the root domain (often shown as "@") and for "www". Update each to point at the IP address your hosting provider gives you. This method changes only where web traffic goes, leaving other records such as MX (email routing) untouched.

Some hosting setups also require a specific CNAME record instead of, or alongside, an A record. Follow the exact instructions your hosting provider supplies rather than assuming every setup is identical.

Why the change is not instant

DNS records are cached by internet service providers, routers and devices around the world so that lookups do not need to happen constantly. When you update a record, that cached information takes time to expire and refresh, a process commonly called propagation. Most changes are visible within a few hours; a full worldwide refresh can occasionally take up to 24 to 48 hours depending on the record's time-to-live setting.

During propagation, different visitors may briefly see either the old or the new location depending on which cached record their network is still using. This is normal and resolves on its own without further action.

How to confirm it worked

  • Use a DNS lookup tool to check the domain's current A record or nameservers from outside your own network.
  • Visit the domain in a private or incognito browser window to avoid your own browser's cache.
  • Check that both the root domain and the "www" version load correctly, since they are configured separately.
  • Confirm HTTPS is working once DNS has settled, since a certificate usually needs the domain pointed correctly first.

If email stops working after the switch

Email is controlled by MX records, which are separate from the A record that routes web traffic. If email breaks after a DNS change, check that the MX records for the domain still point to wherever mailboxes are actually hosted, whether that is the same hosting provider or a separate email service. This is the most common mistake during a nameserver switch, since it moves every record, including MX, at once.

A short pre-switch checklist

  • Confirm the hosting account is fully set up and ready to receive traffic before repointing DNS.
  • Note down current MX and any custom DNS records if you are changing nameservers, in case they need to be recreated.
  • Make the change during low-traffic hours if the site is already live and receiving visitors.
  • Check both web and email after the change, not just one or the other.

Once DNS is pointed correctly and has propagated, the domain and the hosting account behave as one connected website, and no further DNS action is needed unless you change providers again later.

Choose hosting that fits the site.

Compare the shared hosting plans or explore the separate WordPress optimized range.

Shared hostingWordPress hosting