Hosting migrations fail on the boring parts. The database import that stalls at 80 percent. The DNS record nobody wrote down. The email account that quietly stops receiving because the MX entry got left behind in the old registrar's panel. The actual move of files is the easy section of the job, and it is the one people spend the most time worrying about.
What follows is the checklist that matters, organized in the order a migration actually happens: before the switch, during it, and in the weeks after when the dust is still settling. It is written for the person who has to do the work, not the person approving the invoice.
Inventory every service riding on the current host
Before a single file moves, someone has to know what is actually hosted. A website is rarely just a website. There is the domain registration, the DNS zone, the web server, the database, the email accounts, the SSL certificate, and then the quiet passengers: cron jobs, staging environments, subdomains, FTP accounts, redirect rules, and any third-party service that authenticates against the old server's IP address.
The inventory is tedious and it is the single most valuable hour in the whole project. Build a plain document with four columns: service, where it lives now, where it needs to go, and who owns the credentials. The last column catches more problems than the other three combined, because the person who set up the mail server in 2019 may no longer work at the company.
Include the domain registrar separately from the hosting provider. Many teams discover mid-migration that the registrar login belongs to a former contractor, which turns a two-day job into a two-week one.
Lower DNS TTL a full day before touching anything
Time to live, the TTL value on DNS records, controls how long resolvers around the world cache an answer. A record with a 24-hour TTL means that when the IP address changes, some visitors keep hitting the old server for a full day. Some keep hitting it for longer, because not every resolver respects TTL strictly.
Drop the TTL on the A record, the CNAME records, and the MX records to something short, typically 300 seconds, at least 24 to 48 hours before the scheduled cutover. This has to happen far enough ahead that the old, long TTL has itself expired from caches. Change it the morning of the migration and the change accomplishes nothing.
Then, after the migration is confirmed stable for a week or two, raise the TTL back to a normal value. Leaving it at 300 seconds forever is fine functionally, but it means every future change propagates instantly and every future outage does too, which is a trade-off worth deciding on purpose.
Export the database and test the import on the new host first
A database dump that imports cleanly into a local MySQL instance can still fail on a managed host with a different character set default, a lower upload limit, or an older server version. Import the dump into the new environment before the files move, and check that the site loads against it. This surfaces collation errors and missing extensions while there is still time to fix them without an audience watching.
Watch the file size, too. Command-line tools handle a 2 GB dump without complaint; phpMyAdmin does not, and a host's import tool may time out silently. A dump that splits into chunks for the smaller upload limit is worth preparing in advance.
Take a second dump right before the final cutover, after the site has been placed in maintenance mode or the writes have stopped. The first dump is for testing. The second is the one that goes live.
Copy files with permissions and ownership intact
File permissions are the classic post-migration headache: the site loads but images return 403 errors, or the admin panel cannot write to the uploads folder, or a plugin refuses to update because its directory is owned by the wrong user. Use rsync or a host-provided migration tool that preserves permissions rather than dragging files through a zip and unpacking them fresh.
Hidden files deserve specific attention. The .htaccess file carries redirect rules and cache headers that will not survive a copy that skips dotfiles. Configuration files outside the web root, backup directories, and log folders all need a look. A file count comparison between source and destination, run after the copy, catches the ones that slipped through.
Reissue the SSL certificate rather than exporting it
Some hosts allow a certificate to be exported and re-imported, and it works, but the cleaner path is to issue a fresh certificate on the new server. The private key stays where it was generated, the renewal automation is set up on the machine that will actually run it, and the old certificate can be revoked once the new one is confirmed working.
HTTPS breakage after a migration is one of the most visible failures. A browser warning page does more damage in an hour than a slow page does in a month. Confirm the certificate is installed, valid, and covering every subdomain that needs it before the DNS switch, not after.
Move email accounts and test both directions
Email is the service most often forgotten in a hosting migration and the one users notice fastest. If the domain uses the host's mail server, every mailbox, alias, forwarder, and autoresponder has to be recreated on the new side. If the domain uses a third-party mail provider, the MX records point elsewhere and the migration should leave them alone. Knowing which situation applies is the whole job.
Test after the switch by sending mail to and from the domain from an outside account. Check the spam folder. A migration that silently drops inbound mail for a week is a common and expensive outcome.
Verify redirects, forms, and search visibility
After the site is live on the new host, walk the redirect map. Any URL that has changed structure, any http-to-https rule, any www-to-non-www rule: confirm each one still returns the right status code. A 301 that becomes a 404 after migration bleeds search rankings quietly, and the loss is hard to reverse.
Submit contact forms and check that submissions arrive. Test the checkout flow if there is one. Confirm the sitemap loads and the robots file is intact. These are the user-facing paths that a broken migration breaks first.
Run the old and new servers in parallel, then cancel deliberately
Keep the old hosting account active for at least a week after the switch. If something goes wrong, the DNS can be pointed back within minutes. The cost of a month of duplicate hosting is small against the cost of a site that is down for a day because the old server was cancelled the same afternoon as the migration.
Before cancelling, download a final full backup of the old server and store it somewhere outside both hosts. Cancel only after the new site has run through a full billing cycle, the email has been confirmed, and the analytics show traffic settling to normal. Then close the account.
