Before the move
The most important step is knowing what actually runs. “Sites and databases” is not the whole server. When we built our own recovery plan, we added a daily layer with system files, cron jobs, admin scripts, mailboxes, DKIM keys, Redis data, database users and grants, and a list of versions. We use the same list when we migrate.
- List domains, websites, databases, cron jobs, mailboxes and other services.
- Note the versions of PHP, the database and the web server, so the new server can match them.
- Lower the TTL of the DNS records you will switch, e.g. to 300 seconds, at least a day before.
- Find out where e-mail lives. Does it move too, or does it stay elsewhere?
The move itself
The order is what removes the downtime.
- New server ready SSH keys, firewall, updates, the same versions as before, and monitoring.
- First copy Files and databases are copied while the old server keeps running.
- Test without DNS Point only your own computer at the new server (hosts file), so no customer sees it yet.
- Final sync and switch Writes stop briefly, the last changes are synced, and DNS is switched.
- Follow-up Every site’s answer is compared with before. The old server is turned off only after some days.
Mistakes we have met ourselves
- A backup that was not there. A panel reported success although the cloud upload had failed. Check that you can open a backup before you delete anything.
- Database dumps that failed quietly for about a month, because the error was thrown away and an almost empty file was deleted. Now only a clean exit counts.
- Backup files in the web root. On nginx,
.htaccessprotects nothing. Files under the web root could be downloaded although the folder listing said “forbidden”. Never put backups or dumps in the web folder during a move. - A kernel without its boot image caused a kernel panic on the first reboot. Before a big reboot we now check that the new kernel can start.
E-mail is the hard part
Websites can be tested before DNS switches; e-mail cannot in the same way. If mailboxes move too, copy them, switch MX, and sync again afterwards so messages that arrived during the switch are not lost. Remember SPF, DKIM and DMARC: a new server has a new IP address and often a new DKIM key. We run 28 domains with 85 mailboxes ourselves and have rotated DKIM keys without a single rejected message.
Test your e-mail afterwards: our free website check reads SPF, DKIM and DMARC for your domain and shows what is missing.
After the move
- Compare status codes and response times for every site with the measurement from before.
- Check that cron jobs run on the new server and are switched off on the old one.
- Check the first backup from the new server: can it be opened?
- Raise the TTL again once everything is stable.
- Turn the old server off only after some days, and keep a last copy.
Questions about migration
How long does a migration take?
For a server with a few websites, the switch itself is usually minutes, because the copy is made in advance. Preparation takes longer, especially when e-mail moves too.
Can you move us from shared hosting to a VPS?
Yes. It is an ordinary migration. We start by looking at what the hosting account contains and whether e-mail should move or stay.
What if something goes wrong?
The old server keeps running until the new one is confirmed. DNS can then be pointed back, and because the TTL was lowered, the change takes effect quickly.
Fixed price, no commitment
Get your server moved
Tell us what needs to move, and from where. You get a plan and a fixed price before we start.
- A fixed price before we start
- An answer by e-mail, no calls
- Your details are used only to answer you