Why migrations go wrong
Most hosting migrations cause disruption because people change DNS before the new host is ready, or forget to migrate email accounts, or do not test the site before switching DNS. The result is downtime, lost email, or a site that appears to work but has broken email behind it.
The correct migration sequence
- Set up your account at the new host first. Do not touch DNS yet.
- Transfer your website files and database. Copy everything β WordPress uploads, themes, plugins, and all database tables.
- Update database connection settings (wp-config.php for WordPress) to match the new host credentials.
- Test the site on the new host using a temporary URL before any DNS changes. Confirm everything loads correctly.
- Set up email accounts at the new host before changing MX records. Test that they work.
- Set up SSL at the new host so HTTPS works after the switch.
- Lower your DNS TTL 24-48 hours in advance if possible. This speeds up propagation later.
- Change MX records first when you are ready to switch. This prevents email loss.
- Change A records and nameservers. Propagation typically takes 1-4 hours with a low TTL.
- Monitor both hosts during propagation. Do not cancel old hosting until everything is confirmed working.
How to avoid breaking email
Email breaks when nameservers are changed before email accounts exist at the new host. The fix is simple: set up email at the new host and test it before touching MX records or nameservers.
WordPress-specific steps
For WordPress migrations, update the database connection in wp-config.php, and update siteurl and home values in the database if the URL changes. Tools like WP-CLI or Better Search Replace help with URL changes in the database.
Getting migration help from 0724 Hosting
0724 Hosting provides website and email migration support including WordPress, Laravel, and PHP migrations from cPanel, Plesk, and other DirectAdmin hosts. Contact us before you start if you want help planning the move.