How to prepare a WordPress site for a new hosting provider
The new host is ready, the files are copied, and everyone’s keen to switch. Then the contact form stops sending email, because nobody noticed it relied on a DNS record.
Moving a WordPress site to a new host touches more than files. DNS, SSL, databases, email, caching, scheduled tasks and integrations can all affect what visitors experience. Preparation helps the move happen in a controlled way and gives the team a route to recover if the new environment does not behave as expected.
Inventory what the site depends on
List the domain and DNS records, hosting configuration, database, file storage, SSL certificates, email services, CDN or proxy, backups and external integrations. Identify who controls each part and where access is managed. I keep passwords, secret keys and recovery codes out of any handover document; use the approved credential system and confirm who can grant access.
Record the WordPress version, PHP requirements, database version, theme, plugins and custom code. Identify forms, payment or booking flows, search, scheduled tasks and any API connections. Some tasks depend on a server cron rather than a visitor request. Note the current behaviour so it can be tested after migration.
Prepare and test the new environment
Check that the new host meets the site’s needs and has an agreed backup and restore process. Transfer a copy to a staging or temporary domain and inspect representative pages. Confirm media, permalinks, redirects, forms, search, admin access and integrations. A site that renders the homepage correctly may still have broken uploads or scheduled work.
Review URLs and database references carefully. A search-and-replace operation can damage serialized data if done with an unsafe method. Use WordPress-aware migration tools or a reviewed process. Compare a sample of content and media after the transfer, and check that no staging URL or private preview is exposed publicly.
Plan the cutover
Choose a window with the people responsible for DNS, hosting, content and application checks available. Before any cutover I record the current DNS settings and think through how caching and propagation will affect the switch. Keep the old environment available during the agreed rollback period. Decide which system is authoritative during the cutover and how new orders, form submissions or content edits will be handled.
Install and validate SSL before sending visitors to the new host. Check redirects, canonical URLs, robots directives and sitemap access. Do not change the domain structure and hosting provider at once unless there is a clear reason and a test plan for both. Smaller, separable changes are easier to diagnose.
Verify and hand over
After the switch, test key journeys from the live domain and review logs for errors. Confirm analytics and Search Console access still work. Check that forms arrive at the intended destination and that email delivery is unaffected. Keep the migration record with checks, exceptions, owners and rollback decision.
Plan DNS and email carefully
A hosting move can involve DNS records that support web traffic, email delivery, verification and third-party services. I’d never replace the whole zone with a copied default set. Inventory existing records and confirm which provider owns each service. Coordinate changes with the domain owner and email administrator. A website migration should not inadvertently interrupt email or remove a verification record.
Understand the role of TTL and caching in the transition. A DNS change may not appear everywhere at once. Record the current values and know how to restore them. Avoid making repeated changes because one network still shows the old destination; verify from multiple resolvers and the authoritative source. Keep the old host running through the agreed transition window.
Check SSL and redirects
Confirm certificates cover the required hostnames and that renewal is configured. Test HTTPS, www/non-www behaviour and any subdomains used by the site. Look for mixed-content warnings and redirect loops. A browser padlock does not confirm that every route, canonical or asset uses the intended URL.
Review redirect rules before cutover. Test important old URLs and ensure they resolve to relevant destinations in one sensible step. Do not chain redirects or send retired product pages to unrelated destinations. Update internal links and sitemaps after the new environment is stable.
Validate WordPress operations
Check file permissions, uploads, search, scheduled tasks, backups, caching and admin access. Test forms and any ecommerce or booking functions using an approved test path. Confirm that the new provider’s resource limits and PHP/database configuration suit the site. Avoid disabling security controls simply to make a test pass; investigate the specific blocked request with the provider.
Record who will monitor the cutover and how issues are escalated. Keep a checklist of critical routes and integrations, with expected behaviour and evidence. After release, review error logs and user journeys, then update the handover with actual changes. A clean homepage is only the first signal that the migration worked.
Keep a brief post-migration observation window with someone responsible for responding to issues. Check that backups complete on the new provider and that the team knows how to restore them. Confirm renewal ownership for the domain and certificate. After the move, remove temporary accounts and access only when the rollback window closes, and make sure ongoing support arrangements are understood.
After the old host is no longer needed, remove access and services according to the approved retention plan. Confirm that no DNS record, cron task or integration still depends on it before cancellation.
Keep the DNS snapshot until the migration is verified and the rollback period has closed.
Related reading
- A maintenance handover for a WordPress site with custom features
- WordPress vs WP Engine: what site owners should do now
- Keeping a WordPress site fast after a redesign
A host move is complete when the site and its operational dependencies work. Which integration would be easiest to forget in your hosting inventory? Go and check it first.