Separate Domain and Hosting: How to Split Them Safely

Updated: 4 min read Editorial team Webhostertest
Short answer

To separate domain and hosting, keep the domain at a registrar and the website with any host you like, linked by DNS. You either set A and MX records at the registrar or point the domain at the host's nameservers. The payoff: changing host later means editing records, not transferring the domain.

The bundled domain usually becomes a problem on the day you leave. The new host is set up, the site copied, and then you discover the domain is tied to the old contract, the auth code takes days, and support is slow. Separate the two from the start and that day never happens.

Why separate domain and hosting

Think of the domain as your address and hosting as the building behind it. You move buildings far more often than you change address.

Domain bundled with hostingDomain at a registrar
Changing hostdomain transfer needededit DNS records
Cancelling hostingdomain must move firstdomain unaffected
Domain pricehidden in the bundle, often higherflat yearly fee, e.g. .com at €14.99
Email during a hosting outageaffected if DNS sits with the hostonly affected if mail is there too
Accountsonetwo

The last row is the honest counter-argument. Two providers mean two invoices, two logins and, when something breaks, the question of whose problem it is. For a single site that will never move, the bundle is more convenient. Once you run a second project or grow unhappy with your host, separation wins.

A records or nameservers: two ways to connect

Keep DNS at the registrar. You tell the registrar which IP serves your site and which server takes your mail. The host just receives the traffic.

@     IN  A      203.0.113.25
@     IN  AAAA   2001:db8::25
www   IN  CNAME  yourdomain.com.
@     IN  MX     10 mx.mailprovider.example.
@     IN  TXT    "v=spf1 include:_spf.mailprovider.example -all"

Delegate to the host. You set only the host’s nameservers at the registrar, and from then on the host manages every record. Convenient, but it hands back part of the independence you were after.

I’d keep DNS at the registrar whenever web and email come from different companies. Delegating makes sense when the host provides both and you’d rather manage one panel.

Step by step: splitting a bundled domain

The order decides whether anything breaks: copy first, move second, cancel last.

1. Export current records

Panels don’t always show everything, so check from the command line too:

for t in A AAAA MX TXT CNAME NS; do echo "== $t"; dig +short $t yourdomain.com; done
dig +short TXT _dmarc.yourdomain.com
dig +short CNAME www.yourdomain.com

DKIM records include a selector in their name. You’ll find it in your mail panel or in the s= tag of a DKIM-Signature header on a message you’ve sent.

2. Lower the TTL

A day ahead, set the TTL to 300 seconds if the old provider allows it. Later changes then reach most visitors in minutes rather than hours.

3. Move the domain

Remove the transfer lock, request the auth code, start the transfer at the registrar. A .com transfer can take up to five days and adds a year to the term. The details are in transfer a domain with an auth code.

4. Recreate the records

Enter every saved record at the registrar, or set the host’s nameservers.

5. Add the domain at the host

Panels call this “add external domain”, “addon domain” or “connect a domain you own”. Without it, the web server doesn’t know it should answer for your name and won’t issue a certificate.

6. Test, then cancel

dig +short A yourdomain.com
curl -sI https://yourdomain.com | head -n 1

If the A record shows the new IP and the site answers HTTP/2 200, the web side is done. Send yourself an email from an outside account as well. Only when both work should you cancel the old bundle, following cancel hosting, keep your domain.

What separating costs

At the registrar you pay the yearly fee for the ending. At betadomain registration and renewal cost the same:

EndingPer year
.com€14.99
.net€16.99
.org€15.99
.co.uk€15.99
.io€61.99
.app€22.99

At the host you may switch to a plan without a bundled domain, often slightly cheaper. The transfer itself usually costs one renewal year for a .com, which is added to the term rather than lost; domain transfer cost explains the maths. The hosting side is in web hosting cost.

Common mistakes

  • Forgetting MX records: the site works, email silently stops. Often noticed days later.
  • Dropping the SPF record: mail goes out but lands in spam.
  • Forgetting www: the bare domain works, www.yourdomain.com doesn’t.
  • Cancelling too early: the old provider deletes the zone before the transfer completes.

Registering a new name? You can check names and endings at betadomain and keep the domain independent from day one. All yearly prices are on the domain price list, and teams that manage many domains can automate it with the betadomain domain API.

Step by step

  1. Export current DNS recordsCopy every record for the domain (A, AAAA, MX, TXT, CNAME) from your current provider's panel and double-check with dig.
  2. Lower the TTLA day before the switch, set the TTL on key records to 300 seconds so later changes take effect quickly.
  3. Move the domain to a registrarRemove the transfer lock, request the auth code and start the transfer at the new registrar.
  4. Recreate the recordsAdd the saved A, AAAA, MX, SPF and DKIM records at the registrar, or set the host's nameservers.
  5. Add the domain at the hostIn the hosting panel, add the domain as an external domain so the web server answers for it and can issue a certificate.
  6. Test, then cancelCheck website and email with dig, curl and a test message. Only then cancel the old bundle.

Found your domain? You can check and register it directly at betadomain – yearly price from €2.99.

FAQ

Should domain and hosting be separate?

For most projects, yes. You aren't locked to a host, switching is a DNS change, and a hosting outage doesn't automatically take your email with it. The trade-off is two accounts and two bills.

Should I change nameservers or set an A record?

With A records, DNS stays at the registrar and you control web and mail separately. With the host's nameservers, the host manages every record. The first is clearer if your email lives somewhere else.

Will my site go down when I separate them?

Not if you copy the records first and cancel only after the move. Outages usually come from forgotten records, most often MX or TXT.

Does SSL work with a domain registered elsewhere?

Yes. Once the domain points at the host's server, the host can issue a Let's Encrypt certificate. Some hosts require you to add the domain as an external domain in their panel first.