We move sites for free (see Free website migration), and for most people that's the easiest option. But if you'd rather do it yourself, or you want to understand what happens, here's the process we follow.

The rule that keeps it safe: copy and test first, switch DNS last. Your visitors keep using the old host until the very end.

The easy way: a full cPanel backup

If your old host allows it, a full cPanel backup contains everything: files, databases, email accounts and messages, DNS and settings.

  1. At the old host, open cPanel → Files → Backup → Download a Full Account Backup. Choose Home Directory as the destination and start it.
  2. When it's done (you'll get an email), download the backup-...tar.gz file.
  3. Open a ticket with us, attach the file or a download link, and we'll restore it. Customers can't restore full backups themselves on shared servers; it needs root access.

Some budget hosts disable full backups. Then use the manual method.

The manual way

1. Lower the TTL (a day before)

At your current DNS provider, set the TTL of your A and MX records to 300 seconds. When you switch later, it takes effect within minutes instead of hours.

2. Copy the files

  • At the old host: File Manager, select everything in public_html, Compress to a ZIP, download it.
  • At HostingDon: File Manager → public_html → Upload, then Extract.

For large sites, use SFTP instead (how).

3. Copy the database

  • At the old host: phpMyAdmin → select the database → Export → Quick → SQL → Go.
  • At HostingDon: MySQL Database Wizard, create a database and user, give the user All Privileges. Then phpMyAdmin → select the new database → Import the file.

Update your site's config file with the new database name, user and password. For WordPress, that's wp-config.php (DB_NAME, DB_USER, DB_PASSWORD). Note that cPanel prefixes names with your username, like abc_wp1.

4. Recreate email accounts

Create the same addresses in Email → Email Accounts. To bring old messages across, add both the old and new accounts to Thunderbird or Outlook as IMAP and drag folders from one to the other. Or ask us to copy them.

5. Test before switching

You can preview the site on our server before changing DNS by editing your computer's hosts file:

  • Windows: open Notepad as administrator, then open C:\Windows\System32\drivers\etc\hosts.
  • Mac/Linux: sudo nano /etc/hosts

Add a line with our server IP (from cPanel General Information) and your domain:

203.0.113.10  yourdomain.in www.yourdomain.in

Now your computer, and only yours, opens the site from our server. Click around, log in, submit a form. Remove the line when done.

6. Switch DNS

Change your nameservers to ours (how). Then:

  • Keep the old hosting active for at least a week. Some email may still arrive there for a few hours.
  • Check that the SSL certificate is issued on our side.
  • After a week, check the old mailbox once more, then cancel the old hosting.

Common surprises

  • Site works but shows the old content: your browser or Cloudflare cache. Try a private window.
  • "Error establishing a database connection": database name or user in the config doesn't match (remember the prefix).
  • Images missing: they're hard-coded with the old domain or a temporary URL. Search and replace in the database.

Stuck on a step?

Customers can open a ticket from the client area and an engineer will do it with you. Not a customer yet? Write to help@hostingdon.com or call +91 98002 55199.