Tutorials

Moving a website to a new host without downtime

Most migration horror stories come from one mistake: changing the nameservers first. Do that and the domain starts pointing at an empty server while you are still copying files, and every visitor for the next few hours gets an error page.

Move the site first. Point the domain last.

The sequence

  1. Lower your DNS TTL, a day ahead. Find the TTL on your existing records and set it to 300 seconds. This is the step everyone skips, and it is the one that decides whether the final switch takes five minutes or eight hours. Do it at least 24 hours before, so the old long TTL has expired everywhere.
  2. Copy everything across. Between two cPanel hosts, a full backup restores cleanly. Otherwise: files by FTP or SSH, then databases as SQL dumps, then recreate email accounts.
  3. Test before switching. Edit your local hosts file to point the domain at the new server's IP. Your machine now sees the new site while the world still sees the old one. Click through properly — log in, submit a form, check images load.
  4. Set the nameservers. Only now. With a 300-second TTL, most visitors follow within minutes.
  5. Leave the old account running for a week. It costs one more month at most and it is your entire safety net.

Email is where people get hurt

Files and databases are easy — they sit still while you copy them. Mail does not. During the switchover, some senders resolve to the old server and some to the new one, so messages land in two places.

If your email matters, move it deliberately: set up the accounts on the new server before switching, use a tool that syncs over IMAP, and check both mailboxes for a couple of days afterwards. Or, better, move email to a dedicated provider so hosting migrations stop touching it at all.

Afterwards

Reissue SSL on the new host — certificates do not travel. Re-enter cron jobs, which backups often skip. Check that PHP is the same major version, because a site written for 8.1 can break on 8.3. And search your logs for 404s for a few days; missed files usually surface as broken images long before anyone reports them.

We do this for you, free. Send us your existing cPanel login or a backup file and we will move the site, test it, and tell you exactly when to change the nameservers.

Request a free migration See plans
#Migration#DNS#cPanel#Downtime

HostLagbe

HostLagbe. We do these for free, but the sequence is worth knowing either way.

Get hosting tips in your inbox

Occasional guides and platform updates. No spam, unsubscribe anytime.

Support Ticket
Telegram
Instagram
Messenger
WhatsApp