Website Migration to a New Host: Step by Step
Migrating your hosting doesn’t have to be complicated or cause downtime. This step-by-step guide helps you safely move your website, database, and mailboxes.
AI-generated imageIn short: A website migration succeeds without downtime if you follow this order: set up new hosting, copy files and database, create mailboxes, test everything – and only then switch the domain or DNS to the new server. Cancel the old contract only after everything is running smoothly.
- Never cancel first – old and new hosts run briefly in parallel.
- Emails are the most sensitive part: create mailboxes beforehand and transfer contents.
- DNS changes take some time to propagate everywhere.
- After migration, check SSL, forms, and redirects.
Why do companies migrate their websites?
Common reasons include slow or hard-to-reach support, rising prices, outdated technology, or the desire to get website, domain, email, and printing services from one provider. A migration is also a good opportunity for a website relaunch.
The 8 steps of migration
- Inventory: List all domains, subdomains, mailboxes, redirects, databases, and special settings (e.g., cron jobs, PHP version).
- Order new hosting: Choose a package with enough databases and mailboxes (hosting comparison).
- Copy files: Download all website files via FTP/SFTP or as an archive and upload them to the new host.
- Transfer database: Export the database (e.g., with phpMyAdmin) and import it on the new host. Adjust access credentials in the website configuration.
- Create mailboxes: Set up all addresses with identical names. Transfer existing emails via IMAP – many email clients support drag & drop.
- Test: Check the website via a temporary address or a local hosts file entry before switching the domain.
- Switch domain or DNS: Either transfer the domain (domain transfer without downtime) or just update the DNS records to the new server.
- Final check and cancellation: Verify SSL, forms, email sending and receiving. Only cancel the old contract once everything runs flawlessly.
What happens to my emails during the migration?
During DNS switching, emails may still arrive at the old provider for a short time. Keep the old mailboxes active for several days and check them in parallel. Also, remember to update SPF, DKIM, and DMARC records – otherwise, your emails may end up in recipients’ spam folders. Details in our guide SPF, DKIM and DMARC explained.
How long does a migration take?
| Step | Typical effort |
|---|---|
| Website files and database | a few hours, depending on size |
| Mailboxes and email content | depends on number and size of mailboxes |
| DNS change effective | usually within a few hours, up to 48 hours in rare cases |
| Domain transfer | from a few minutes to several days depending on extension |
Common mistakes – and how to avoid them
- Cancelled too early: If the old contract ends before migration is complete, website and mailboxes go offline.
- Hardcoded paths in the website: Some CMS store absolute paths or old addresses in the database. These must be adjusted.
- Forgot SSL: After migration, the certificate must be active on the new server, otherwise browsers show warnings.
- Lost redirects: Check if old URL redirects still work – this is important for your Google rankings.
Conclusion
With good preparation and the right sequence, hosting migration is manageable and can be done without downtime. On request, MYPOINT can handle the entire migration for you – just ask us.


