Cancelling a service and what to do first

Before canceling your hosting service, take a full backup, transfer your domain, and choose the right timing. This guide covers all the essential points.

6 min Updated 25 Oct 2026

Why Does Canceling a Hosting Service Require Planning?

Canceling a hosting service might seem simple at first glance—one call or support ticket and it's done. But if you do it without prior preparation, you could permanently lose your website's valuable data, business emails, or even your domain. In this article, we'll go step-by-step through what you need to do before canceling your service to ensure a secure and hassle-free migration.

Many users think canceling a service just means deleting the account, but in reality, this process involves taking a full backup, transferring the domain, and choosing the right time. If you overlook any of these steps, you may face irreparable problems.

Step One: Full Backup of All Data

Before taking any action to cancel your service, you must ensure you have backed up all your data. This is essential not only for your website but also for your emails and database.

Backing Up Website Files

The simplest way to back up your website files is by using cPanel or your hosting control panel. Most panels have a "Backup" option that you can use. If you have SSH access, you can back up the entire public_html folder with the following command:

tar -czvf backup.tar.gz public_html/

This command creates a compressed file named backup.tar.gz containing all your website files. Be sure to download this file to your local system and don't just rely on the server.

Backing Up the Database

The database is the beating heart of your website, and without it, the files are almost worthless. To back up MySQL, use the following command:

mysqldump -u username -p database_name > database_backup.sql

If you use phpMyAdmin, you can select the appropriate option from the "Export" tab. Make sure to set the output format to SQL so it can be easily restored at the new destination.

Backing Up Emails

If you use business email on the same host, be sure to back up your mailboxes. In cPanel, you can find the backup option under "Email Accounts." You can also use an email client like Outlook or Thunderbird to save all emails locally.

Common Mistake: Many users only back up their website files and forget the database. As a result, after migrating to the new host, the website appears completely empty and without content. Always back up both parts.

Step Two: Transferring the Domain to the New Destination

Your domain is your most important digital asset, and you must transfer it properly before canceling your service. The steps will differ depending on whether your domain is registered with the same host or you use a separate registrar.

Transferring the Domain from the Host to Another Registrar

If your domain is registered with the same host, you need to initiate the Domain Transfer process. To do this:

  1. First, obtain the transfer code (EPP Code or Auth Code) from the domain management panel.
  2. At the destination registrar, initiate the transfer process and enter the code.
  3. Confirm the verification email sent to the domain's registered address.
  4. Wait for the transfer to complete (usually takes 5 to 7 business days).

Setting Up DNS Before Canceling the Service

After transferring the domain, you need to point the DNS records to the new server. This is usually done by changing the Nameservers. If your new host uses a static IP, you can set the A and MX records directly.

example.com. 3600 IN A 203.0.113.10
example.com. 3600 IN MX 10 mail.example.com.

Note that DNS changes can take up to 24 to 48 hours to propagate worldwide. So, do this at least 2 days before canceling your service.

Transferring SSL and Certificates

If you use SSL, you also need to transfer the certificate and private key. In most cases, you can download the certificate from the hosting panel and install it on the new server. If you use Let's Encrypt, it's usually simpler to reissue the certificate on the new server.

Step Three: Proper Timing for Service Cancellation

Choosing the right time to cancel your service can greatly impact the success of the migration process. In this section, we'll cover key timing considerations.

Best Time to Cancel the Service

The best time to cancel your service is when your website traffic is at its lowest. This is usually early in the morning or late at night. Also, avoid canceling on holidays or weekends, as technical support may not be available.

Time Required for Migration

For a typical website, you'll need at least 3 to 5 days for a complete migration. This includes backup, file transfer, DNS setup, and final testing. If your website is more complex (e.g., an online store with a payment gateway), increase this time to 7 to 10 days.

Check Your Service Expiration Date

Before canceling, be sure to check your service expiration date. If your service is renewed monthly or annually, it's better to cancel close to the expiration date to avoid paying extra. Some companies have refund policies, but you shouldn't rely on them.

Common Mistake: Some users cancel their service mid-billing cycle and expect a refund. However, many hosting companies don't have refund policies or only offer refunds for annual plans. Read the refund policy before canceling.

Step Four: Final Review and Testing

After the complete migration, before canceling your service, you should do a final review to ensure everything is working correctly.

Full Website Testing

Browse all pages of your website and make sure images, forms, and links are working properly. If your website is an online store, be sure to test the checkout process.

Email Testing

Send and receive a test email to different addresses. Also, make sure that SPF and DKIM settings have been properly transferred so your emails don't end up in spam.

Checking DNS Records

Use tools like dig or nslookup to check DNS records:

dig example.com A
dig example.com MX

If the output of these commands shows the new IP addresses, the DNS transfer has been done correctly.

Final Tips and Summary

Canceling a hosting service is an important decision that should be made carefully and with planning. In this article, we covered four main steps: full backup, domain transfer, proper timing, and final review. If you follow these steps in order, you can safely cancel your service and migrate to a new host.

If you're looking for a stable and reliable solution for hosting your website, we suggest checking out ServerNet hosting services. With proper planning and choosing a trustworthy provider, you can avoid potential issues in the future.

Remember to always back up all your data before canceling your service and perform the migration at the right time. This is the simplest way to prevent losing your valuable information.

Was this page helpful?