Fill the Server: 80% off your first 4 monthly invoices, monthly billing. Ends Nov 30, 2026. 25 spots in this batch.FILL25
Fill the Server, annual: about 29.63% off your first annual invoice. Ends Nov 30, 2026.FILL25Y
Fill the Server, 2 year term: about 15.69% off your first biennial invoice. Ends Nov 30, 2026.FILL25B
Fill the Server, 3 year term: about 11.11% off your first triennial invoice. Ends Nov 30, 2026.FILL25T
80% off your first 3 months, monthly billing. Ends Dec 25, 2027.3MONTHS80
50% off your first annual Shared term. Ends Dec 31, 2027.50SHARED
Shared Starter, 3 year term: C$105.84 total.MOOSE294
20% off your first 3 monthly VPS invoices. Ends Dec 31, 2027.20VPS3
25% off your first annual base VPS term.25VPS

← All guides

Domains

How to connect a domain to web hosting

Published August 2026 · 9 min read

Connecting a domain to web hosting means making DNS direct the website hostname to the correct service. The exact records depend on the provider, but the underlying idea is always the same: the domain needs an authoritative DNS configuration that tells browsers where the site lives.

First find out where DNS is managed

The registrar, web host, CDN or another DNS provider may be authoritative for the domain. Check the nameservers before editing records so you do not make changes in a dashboard that is not actually serving the domain.

Record the existing zone before replacing nameservers or deleting records.

Point the website hostname to the hosting service

The host may ask you to use an A record, AAAA record, CNAME, or a specific nameserver set. Follow the provider’s current instructions for the exact service you purchased.

The apex domain and www hostname may use different record types while still serving the same website.

Preserve email and verification records

MX records control mail routing, while TXT records commonly contain SPF, DKIM, DMARC and third-party verification values. A website move should not erase those records unless the mail system is moving too.

DNS changes are broader than the website alone.

Wait for caches, then test the full path

DNS resolvers cache answers according to TTL and their own behaviour, so changes may not appear everywhere instantly. Once the new records are visible, test HTTP, HTTPS, www, the apex domain, email and any important subdomains.

A successful ping or homepage load does not prove every service on the domain survived the change.

Common questions

Do I have to change nameservers to connect hosting?

Not always. You can often leave the existing nameservers in place and change only the website records. Some providers prefer their own nameservers because they manage the DNS zone for you.

Next step

Connect a domain to hosting by understanding nameservers, DNS records, A and AAAA records, CNAMEs, email records, TTLs, HTTPS, and what to test after the change.

Explore domain services

Keep reading

Related guides.

CAA record planning: control which certificate authorities may issue for a domain

Plan CAA records around the certificate providers you use, subdomains and incident contacts, then verify issuance will still work before enforcing restrictions.

Read the guide

CNAME chain problems: why extra DNS aliases can break or slow resolution

Trace CNAME chains, loops, missing terminal records and provider restrictions, then shorten unnecessary aliases without changing the intended hostname.

Read the guide

DKIM selector rotation: change signing keys without breaking verification

Rotate DKIM selectors by publishing the new key first, switching signers, monitoring authentication and retaining the old selector long enough for queued mail.

Read the guide

More domains & dns guides

We will handle the move. You check it first.

Your current site stays online until your new one is ready. You approve the copy first, and if anything is not right we switch you back right away. The price you pick is the price you renew at.

Start my free moveSee plans and prices
See pricesFree move