Cancel Hosting, Keep Your Domain: The Safe Order

Updated: 4 min read Editorial team Webhostertest
Short answer

To cancel hosting and keep your domain, transfer the domain to a registrar first and cancel the hosting plan only once the transfer is complete. If you cancel first, a bundled domain can expire or be deleted with the plan. Back up your website files, database, DNS records and mailboxes beforehand, because they usually disappear when the account closes.

Cancelling a hosting plan takes two minutes. Getting back a domain that went down with it can take weeks, and with a .com it might be impossible if someone else registers it first. That’s why the order matters more than any single step.

Cancel hosting, keep your domain: the right order

Short version: move first, cancel second. While the contract runs, the host has to give you the auth code and release the domain. Once it has ended, the host has no reason to keep managing it.

A realistic plan, counted back from the contract end date:

WhenWhat to do
6 weeks beforecheck notice period, pick a new host or registrar
4 weeks beforeback up site, database, mailboxes and DNS records
3 weeks beforeset up the new environment, copy mailboxes
2 weeks beforerequest auth code, transfer the domain, switch DNS
1 week beforeconfirm everything works, then cancel hosting

A .com transfer takes up to five days, so two weeks leaves room for a slow support desk. If your notice period is shorter than six weeks, compress the steps but keep the order.

Back up before the account closes

When the contract ends, hosts usually switch everything off at once: web space, database, mailboxes. What you didn’t save is gone. Your list:

  • website files via SFTP or the host’s backup tool
  • database as an SQL export
  • DNS records, including TXT records for SPF, DKIM and site verifications for Google or Microsoft
  • every mailbox with all folders
  • cron jobs and any custom server settings

For email, imapsync copies mailboxes from one server to another:

imapsync \
  --host1 imap.oldhost.example --user1 [email protected] --password1 'old-password' \
  --host2 imap.newmail.example --user2 [email protected] --password2 'new-password'

You can run it repeatedly; later runs only copy new messages. Useful when mail keeps arriving between the first copy and the DNS switch.

Moving the domain out of a hosting bundle

The move itself is an ordinary transfer: unlock, request the auth code, order the transfer at the new registrar. The full walkthrough with checks is in transfer a domain with an auth code.

Bundled domains bring a few quirks:

  1. Some hosts only release the auth code through support, not the dashboard. Allow a few days.
  2. A “free domain” offer may carry a fee if you cancel within the first year. Check the terms before you start.
  3. Hosts sometimes register bundled domains with their own company as the registrant. If the WHOIS or account shows the host rather than you as owner, get that corrected before the transfer.

After the move you pay the domain separately. At betadomain a .com costs €14.99 a year and a .net €16.99. If you’re changing host anyway, this is the moment to keep the domain at a registrar for good; separate domain and hosting explains why.

What happens if you cancel first

For a .com or another generic ending, the host simply stops renewing. The domain expires on its date, enters the registrar’s grace period, then a 30-day redemption period with a restore fee, and is finally released to the public. During redemption it cannot be transferred, so you’d have to restore it at the old host, at their price, assuming they still let you. The phases and fees are described in domain renewal price.

Some hosts delete bundled domains right when the contract ends instead of letting them run to expiry. Then the clock starts immediately. Either way, the safety net is thin and expensive.

Word the cancellation clearly

If the domain has already moved, cancelling is low risk. Still, spell it out so nobody at the host decides to delete anything:

Please cancel hosting account [account number] at the end of the current term. The domain yourdomain.com has already been transferred to another registrar and is not part of this cancellation.

Keep the confirmation. After the end date, check once that the site and email still work. If they do, you’re done.

What keeping the domain costs

From now on you pay the domain fee and whatever new hosting or email you chose. If you don’t need a website any more, the domain alone can carry email or a redirect; see domain without hosting. The transfer itself is covered in domain transfer cost.

All yearly fees are on betadomain’s price list, and the .com overview shows price and rules for the most common ending. Want to grab a matching second ending while you’re at it? Check other endings for your name.

Step by step

  1. Check contract and datesFind the end date, notice period and whether the domain is part of the hosting plan.
  2. Back up everythingExport site files, database, DNS records and every mailbox.
  3. Set up the new destinationPrepare new hosting or an email provider and test it before moving the domain.
  4. Transfer the domainRemove the transfer lock, request the auth code and transfer it to a registrar.
  5. Switch DNS and testPoint records at the new services and confirm website and email work.
  6. Cancel the hostingCancel only the hosting, after the transfer has completed, and keep the confirmation.

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

FAQ

What happens to my domain if I cancel my hosting?

If the domain came with the plan, it typically ends with it: the host stops renewing and the domain expires, or it is deleted. If you transfer it out before cancelling, nothing happens to it.

Can I still transfer the domain after cancelling?

While the domain is still registered and unlocked, yes. Once it has expired and entered redemption, a transfer is no longer possible and restoring it costs extra. Plan the move at least two weeks before the contract ends.

Do I lose my 'free' domain if I cancel?

You lose the free part. The domain is yours to transfer, but from then on you pay its yearly fee at the new registrar, and some hosts charge a fee if you cancel within the first year.

Will I keep my emails?

Only if you export them or copy them to a new mailbox first. Mailboxes are normally deleted when the hosting account closes.