CompareHostingOnline

Home / Guides / How to cancel web hosting without losing your site

Guide

How to cancel web hosting without losing your site

The safe order for cancelling a hosting plan: back up, move the site and email, check the domain, then cancel and stop auto-renewal.

By Muhammad Hamza, Founder & EditorUpdated Nov 30, 2026
Old hostNew host Then point DNS

Short answer

Back up your site and email, move them to the new host, check everything works, then cancel and turn off auto-renew. Cancelling first can delete your data, and leaving auto-renew on can charge you again.

Last verified Nov 28, 2026 · How we test
At a glance
  • What is the safest way to cancel hosting?The mistake that costs people their sites is doing these in the wrong order.
  • Should you cancel before or after you move?After.
  • What should you back up first?Site files and the database; see website backups.

What is the safest way to cancel hosting?

The mistake that costs people their sites is doing these in the wrong order. Hosts delete accounts soon after cancellation, sometimes within days, and a deleted account usually cannot be restored. Treat cancellation as the last step of a move, not the first.

  1. Back up everything

    Files, databases and email, stored away from the old host.

  2. Move and test

    Run the site on the new host before touching DNS.

  3. Check domain and DNS

    Make sure the domain does not depend on the old host.

  4. Cancel and stop renewal

    Get written confirmation and turn off auto-renew.

Should you cancel before or after you move?

After. Keep the old plan active until the new site works, DNS has settled and email is flowing to the right place. That usually means a few days of overlap, which costs very little compared with an outage. If your plan is about to renew, check the renewal date now; some hosts bill a day or more ahead, and a renewal charged before you cancel may not be refundable. Our website migration checklist lists the steps to run in parallel.

What should you back up first?

  • Site files and the database; see website backups.
  • Email messages, folders, filters and forwarders; see moving email to a new host.
  • DNS records, copied from the control panel before any change; see what DNS records are.
  • Cron jobs, redirects, custom PHP settings and any server configuration you changed.
  • SSL certificates only if they were issued separately; a new host can issue new ones.
  • A list of installed software and versions, so you can rebuild if needed.

What happens to your domain?

If the domain is registered at the same company as the hosting, cancelling the plan can affect it. Some hosts keep the domain registered; others let it lapse or hold it until you pay. Check where the domain is registered before you cancel. If it is inside the hosting account, transfer it to a registrar you control first, using the steps in how to transfer a domain name. Remember that newly registered domains and recently transferred ones are often locked for 60 days.

Then confirm that your nameservers or DNS records point to the new host. If DNS lives at the old host, cancelling the plan can take DNS down with it. Copy the records first; see nameservers explained.

How do you turn off auto-renewal?

Cancelling a hosting plan and turning off renewal are sometimes separate switches, and add-ons such as a domain, SSL or backup service may renew on their own schedule. Look at the billing area for a list of active services, and turn off auto-renew on each one you do not want. Then check your payment method to make sure no subscriptions remain, and watch your next statement for charges.

Can you get a refund when you cancel?

Possibly, if you are inside the refund window and the terms cover what you want back. Domains, setup fees and add-ons are often excluded, and renewals may have a shorter window or none. Read hosting money-back guarantees for what is usually covered, and request the refund in writing through the channel the terms specify.

What are the common mistakes?

  • Cancelling before the migration is finished and losing the only copy of the data.
  • Forgetting email, so mail bounces after the old plan ends.
  • Leaving DNS at the old host and taking the site down with the account.
  • Not noticing a renewal date and being charged for another term.
  • Keeping no backup and trusting the host to hold your data after cancellation.

What should you do after cancelling?

Keep your backups for a few months, watch the site and email for problems, and check search console for crawl errors in the following weeks. If something broke, restoring from your backup to the new host is far easier than starting again. When everything is stable, delete the old copies you no longer need, especially any that contain customer data.

A worked example: a clean exit from a hosting plan

An owner decides to leave a host after a poor year. On Monday they back up files, database and mailboxes and copy the DNS records. On Tuesday the new host migrates the site and gives a temporary URL, and the owner tests it. On Wednesday they lower the TTL and move email. On Thursday evening they switch the A record, check the site from a phone on mobile data, and test forms. They keep the old account for ten days. On the tenth day they take one more backup, turn off auto-renew on the hosting, the add-ons and the domain at the old company, transfer the domain to their registrar, then cancel in writing and save the confirmation.

A month later the old host’s final invoice shows zero. Nothing was lost.

How should you word a cancellation request?

Be short and specific: the account name, the service to cancel, the date you want it to end, a request to turn off auto-renewal on every item, and a request for written confirmation. Use the channel the terms specify, and keep a copy. If a refund applies, state the order number and the policy clause you rely on. If a retention agent offers a discount, decide beforehand whether you would stay for that price.

Sources and further reading

Common questions

Will I lose my website if I cancel my hosting?

Yes, if you have not saved and moved it first. Hosts usually delete data soon after cancellation. Make a full backup of files, database and email, move them and check the new site works before you cancel.

Do I need to cancel auto-renewal separately?

Often yes. Cancelling the plan and stopping renewal of domains and add-ons can be separate steps. Review the billing page for every active service and turn off the ones you no longer want.

What happens to my domain if it is registered with the host?

It depends on the host. Some keep it registered, some let it lapse and some hold it until you pay. Transfer it to a registrar you control before you cancel, allowing for transfer locks.

How long should I keep the old hosting after moving?

A few days to a couple of weeks, until DNS has settled, email is flowing and you have checked forms, logins and checkout. The cost of overlap is small compared with the cost of an outage.

Can I get a refund when I cancel hosting?

Maybe, inside the refund window and for the items the terms cover. Domains and add-ons are often excluded. Request it in writing, keep confirmation and check the policy on the provider's own page.

Related

More guides

Esc

Use the arrow keys, then Enter.