How to Move Your WordPress Site to a New Host Without Downtime (2026 Guide)

Switching hosts doesn't have to mean hours of downtime or lost data. This step-by-step guide shows you exactly how to migrate your WordPress site safely — without your visitors noticing a thing.
Whether you're moving away from slow shared hosting, upgrading to a VPS, or switching providers entirely, the process is the same. Done correctly, your site stays live throughout the migration, and the final cutover takes less than 5 minutes of actual downtime — often zero.
⚠ Before anything else: do not cancel your old hosting until your new site is fully live and confirmed working.
What you need before you start
- Access to your current hosting control panel (cPanel, Plesk, etc.)
- Login credentials for your new hosting account
- Access to your domain registrar (Namecheap, GoDaddy, etc.)
- A migration plugin — we'll use Duplicator (free) or All-in-One WP Migration
Step-by-step migration guide
Step 1: Back up your entire WordPress site
Install Duplicator from the WordPress plugin directory. Go to Duplicator → Packages → Create New. Let it scan and build your package. You'll download two files: an installer.php and a .zip archive of your full site. Keep both safe.
Step 2: Set up your new hosting environment
Log into your new host's cPanel. Create a new database, a database user, and assign full privileges. Note the database name, username, password, and host (usually localhost). You'll need these during install.
Step 3: Upload the backup to your new host
Using FTP (FileZilla) or your host's File Manager, upload both the installer.php and the .zip archive to the public_html folder of your new host.
Step 4: Run the Duplicator installer
In your browser, visit yournewhost-temp-url.com/installer.php (use the temporary URL your host provides). Follow the wizard — enter your new database credentials, confirm the URL, and let it extract everything. This replaces the full WordPress install automatically.
Step 5: Test on the temporary URL
Once installed, log into your WordPress dashboard using the temporary domain. Check pages, posts, images, forms, and plugins. Fix anything broken before you point your real domain here. This is how you achieve zero visible downtime.
✓ Pro tip: Update your WordPress Address and Site Address under Settings → General to the temporary URL while testing, then change it back to your real domain just before you update DNS.
Step 6: Lower your DNS TTL in advance
Go to your domain registrar 24–48 hours before migration. Find your domain's DNS settings and lower the TTL (Time To Live) on your A record to 300 seconds (5 minutes). This means DNS changes will propagate globally in minutes instead of 24–48 hours when you're ready to switch.
Step 7: Update your DNS to point to the new host
Once testing is complete, go to your domain registrar and update the A record to your new host's IP address. Because you lowered the TTL earlier, this change will propagate in under 10 minutes for most users. Your site is now live on the new host.
Step 8: Install your SSL certificate
On your new host, install a free SSL via Let's Encrypt (available in most cPanel accounts under SSL/TLS). Then install the Really Simple SSL plugin in WordPress to force HTTPS site-wide. Clear your cache and test that all URLs load over HTTPS.
Step 9: Verify everything and clean up
Test your live domain across different browsers and devices. Check contact forms, checkout (if WooCommerce), emails, and page speed. Delete the installer.php file from your new host immediately — leaving it exposed is a security risk. Once satisfied, cancel your old hosting.
Common mistakes to avoid
- Cancelling old hosting before confirming new site works
- Forgetting to update WordPress Site URL before going live
- Not lowering DNS TTL in advance — causes hours of propagation delay
- Leaving installer.php on the server after migration
- Migrating a site without testing email (SMTP) on the new host
Frequently asked questions
Will my site go offline during the migration?
If done correctly, no. By testing on a temporary URL first and lowering DNS TTL in advance, the actual "switch" takes minutes. Most visitors won't notice any interruption.
Do I need a migration plugin or can I do it manually?
A plugin like Duplicator or All-in-One WP Migration is far safer for beginners. Manual migration (via phpMyAdmin + FTP) works too but is error-prone if you're not comfortable with databases.
How long does the full migration take?
Typically 1–2 hours for a standard site. Larger WooCommerce stores with thousands of products may take longer depending on database size.
What if my new host has a different PHP version?
Check your current PHP version under Tools → Site Health in WordPress. Match or get close to the same version on your new host to avoid plugin/theme compatibility issues.
Want to apply this to your business?
Book a consultation.