Practical hosting guide
How to move a website to a new host
Moving a site is not just copying files and changing an address. The application, database, domain, email and scheduled tasks may depend on different services. This checklist helps you plan a controlled move without assuming that either host includes a particular feature.
1. Inventory what the site needs
List your domains and subdomains, DNS records, application files, uploads, databases and scheduled jobs. Note the PHP and database versions and extensions your application requires, along with storage paths and any third-party integrations. Check the destination plan supports them before committing. A host's advertised PHP version alone does not establish that the specific extensions and configuration your application needs are available.
Identify email separately: website hosting and mail may use different providers. Record the current mail-related MX and authentication records as well as website records. Do not copy passwords or API keys into a public checklist; keep secrets in a protected store.
2. Back up and practise restoring
Take a consistent database export and a copy of the application and uploaded files. Retain an independent backup and confirm you can restore it. Test the restore in a private environment without overwriting production. Disable scheduled tasks and outgoing email in the test copy so that it cannot send duplicate notifications or perform unintended work.
Record the last time the old site can accept changes before your final copy. For a store, membership site or other site receiving new data, plan how to handle orders, uploads and account changes during the move. A temporary maintenance window may be safer than letting two databases accept different changes.
3. Prepare the destination and test privately
Deploy the application, import a test copy of the database and configure the new environment without exposing secrets in the document root. Check permissions, secure connections, redirects, file uploads, forms and representative database-backed pages. Confirm how TLS certificates will be issued for the domain; a temporary preview URL may not reproduce the final hostname or HTTPS configuration.
Use a supported PHP branch and a compatible application version. PHP's support table shows active and security-support dates. Check the current table rather than assuming that a version is still maintained.
4. Plan DNS and the cutover
Compare the old and new DNS records carefully, including mail and verification records. If you control the existing records, reducing their TTL ahead of the move can help, but earlier cached answers can persist for their original TTL. A short TTL is not a guarantee of an immediate worldwide change. Keep the old service available during the transition and plan for visitors who may still reach it.
If you are changing authoritative DNS providers and use DNSSEC, follow the providers' and registrar's migration instructions before changing nameservers. Incorrect parent DS records or signing keys can make a domain fail validation. Do not delete or replace DNSSEC records blindly. Cloudflare's migration preparation guide gives one provider-specific example, including record comparison and DNSSEC timing.
5. Verify, monitor and retain a rollback option
After the final data copy and DNS change, test the canonical HTTPS homepage, important URLs, redirects, logins, forms and file uploads. Test incoming and outgoing mail if it is affected, and check scheduled jobs and application logs. Look from more than one network when practical. A successful homepage response alone does not prove that the entire site or email works.
Monitor the new environment and keep the old one until the transition is stable and you have a current independent backup. Define in advance what would trigger rollback and how you would preserve changes made on the new host. Rolling DNS back without reconciling new data can lose orders or other updates. Cloudflare's post-migration checklist covers testing DNS-dependent services and stabilization.
Related planning tools
Use our backup and restore checklist before moving, and the hosting cost guide to compare the new plan's renewal and recovery costs. The calculator on the homepage uses figures you supply; it is not a current provider quote.
Original AI-assisted guidance; sources checked 3 December 2026. This is general planning information, not a guarantee of a zero-downtime migration or a review of a hosting provider.