Migrating a WordPress site to cloud hosting takes 30–90 minutes when you follow a structured process: back up first, choose the right migration method for your site size, copy files and database to the new server, then flip DNS only after verifying the copy is clean. With DNS TTL lowered in advance, the actual downtime window is typically 15–30 minutes or less.
TL;DR Verdict
- Always take a full backup (files + database) before touching anything
- Cloudways Migrator plugin is the fastest, free, no-size-limit option for cloud migrations
- Lower DNS TTL to 300 seconds 24+ hours before you start to minimize downtime
- Plugin methods work for most sites; manual migration gives the most control for complex setups
- Verify forms, checkout flows, and SSL before removing the old server
Try Cloudways — see current plans
Before You Migrate Your WordPress Site
Preparation is where most migrations go wrong. Rushing into a file transfer without a backup or without lowering your DNS TTL first turns a 45-minute job into a 4-hour recovery session. I’ve run migrations for dozens of client sites — the ones that go smoothly all follow the same three pre-migration steps.
Back Up Everything
Take a complete backup immediately before you start — not the one from last night, a fresh one right now. Your backup needs to cover two things:
- All WordPress files — the entire
public_htmlor site root directory: WordPress core, your theme, all plugins, and thewp-content/uploadsfolder. - Your database — all the tables your WordPress installation uses, exported as a
.sqlfile.
The fastest way to do this reliably is UpdraftPlus (free tier covers manual backups). Install it, run a full backup, and download both the files archive and the database archive to your local machine or a cloud storage bucket. BackWPup is a solid free alternative. If your current host offers a one-click backup in their control panel, use that too as a second copy — but don’t rely on it alone.
Store the backup somewhere outside the server. If the migration corrupts your database, you need to restore from a copy the server can’t touch.
Pick Your Destination Host
Not all managed cloud hosting is equal, and your choice affects which migration method is most efficient. For this guide, the examples focus on Cloudways managed cloud hosting, which runs WordPress on DigitalOcean, AWS, Google Cloud, Vultr, or Linode — and includes a free official migrator plugin that handles the entire process automatically.
Before you provision the new server, confirm:
- PHP version: Match your current site’s PHP version on the new server first, then upgrade after a successful migration.
- Server resources: Check your current site’s disk usage in cPanel/Plesk. Provision a cloud server with at least 2x that space.
- SSL provider: Cloudways uses Let’s Encrypt. Have your domain credentials ready.
Plan for Downtime
“Zero downtime” migrations exist but require staging DNS behind a load balancer — that’s overkill for most WordPress sites. Realistically, aim for a 15–30 minute window by doing this one thing in advance: lower your DNS TTL to 300 seconds (5 minutes) at least 24 hours before migration day.
Log in to your DNS provider (Cloudflare, Namecheap, GoDaddy — wherever your nameservers point), find your A record, and change the TTL from 3600 or 86400 down to 300. This means when you switch the A record to your new server’s IP, it propagates globally in under 10 minutes instead of 48 hours. After the migration is stable, raise the TTL back to 3600.
Migration Methods Compared
Three approaches cover every WordPress migration scenario. The right choice depends on your site size, technical comfort, and destination host.
Manual Migration
Manual migration gives you the most control and works on any wordpress hosting provider without plugins. The steps: export your database via phpMyAdmin, download all site files via FTP, create a new database on the destination server, upload the files and import the database, then update wp-config.php with the new database credentials.
This is the right choice when you have a non-standard server setup, when plugins fail due to file-size limits, or when you’re moving to a host without a migration service. It requires SSH or FTP access and comfort editing configuration files. For most operators, plugins or managed services are faster.
Plugin Migration
Plugin-based migration automates the file and database transfer through WordPress itself. Three plugins cover the main scenarios under wordpress hosting switches:
| Plugin | Free size limit | Best for |
|---|---|---|
| All-in-One WP Migration | 512 MB | Small to mid-size sites |
| Duplicator (free) | No hard limit (manual extract) | Developers comfortable with scripts |
| Migrate Guru | No limit (cloud-to-cloud) | Large sites, hands-off transfers |
All-in-One WP Migration is the most beginner-friendly for sites under 512 MB. Duplicator’s free version works for larger sites but requires running an installer script on the destination server. Migrate Guru is genuinely impressive for large transfers — it uses BlogVault’s infrastructure to move files in the cloud rather than through your browser connection, so a slow local internet connection doesn’t bottleneck the transfer.
Free Managed Migration
Several managed wordpress hosting providers offer free migration services where a technician handles the entire move. Cloudways includes a self-serve migrator plugin that functions like a managed migration without the human on the other end: you install it on the source site, enter credentials, and the plugin does the rest. WP Engine and Kinsta offer technician-assisted migrations on most plans.
For volume — if you manage multiple client sites — the Cloudways plugin approach scales better than requesting manual migrations for each site.
Migrating With a Plugin — Step-by-Step
This walkthrough uses All-in-One WP Migration for sites under 512 MB, which covers most WordPress sites, and notes where Duplicator differs for larger installs. This method works when moving between wordpress hosting providers of any kind.
Export Your Site
- Log in to your WordPress admin on the source (current) site.
- Go to Plugins → Add New, search “All-in-One WP Migration”, install and activate it.
- Navigate to All-in-One WP Migration → Export.
- Click Export To → File. The plugin will package your files and database into a single
.wpressarchive. - Download the
.wpressfile to your local machine. For sites over 300 MB, this can take several minutes — do not close the browser tab.
If you’re using Duplicator for a larger site: install Duplicator, go to Duplicator → Packages → Create New, run the build wizard, and download both the installer .php file and the archive .zip file.
Import to the New Host
For All-in-One WP Migration:
- Install WordPress on the destination server. On Cloudways, this takes about 2 minutes via the control panel’s one-click WordPress installer.
- Install and activate All-in-One WP Migration on the destination WordPress install.
- Go to All-in-One WP Migration → Import and upload the
.wpressfile you exported. - The plugin will warn you that the import will overwrite the existing site. Confirm and proceed.
- When complete, click Permalinks → Save twice to flush the rewrite rules.
For Duplicator: upload the .zip archive and installer.php to the destination server’s web root via FTP, then visit yourdomain.com/installer.php in a browser and follow the on-screen steps to run the database import and configure the connection.
Verify the Copy
Before touching DNS, verify the site on the new server using a hosts file override or the Cloudways temporary URL:
- On Cloudways, every application gets a temporary domain (
appname.cloudwaysapps.com). Visit this URL to confirm the site loads correctly. - Check: homepage loads, images load, at least one internal page opens, wp-admin login works.
- Confirm there are no obvious database errors or broken layout issues.
If anything looks wrong at this stage, fix it before switching DNS. Common causes: the wrong PHP version on the destination, file permission issues on wp-content, or the database credentials in wp-config.php not updated after the import (All-in-One WP Migration handles this automatically; Duplicator requires you to enter the new credentials during the installer wizard).
Migrating to Cloudways the Easy Way
If your destination is Cloudways hosting, skip the generic plugin workflow above. Cloudways ships a dedicated free migrator plugin that is purpose-built for this and has no file-size restriction. I’ve used this across multiple client migrations and it consistently outperforms generic migration plugins for cloudways wordpress hosting moves.
Install the Migrator
- On your destination Cloudways server, set up a new WordPress application in the Cloudways control panel (Applications → Add Application → WordPress).
- On your source WordPress site (the one you’re moving away from), install the free Cloudways Migrator plugin: Plugins → Add New → search “Cloudways Migrator” → Install and Activate.
Enter Source Details
- In your WordPress admin on the source site, go to Cloudways Migrator in the left menu.
- Enter your Cloudways API key (found under Account → API Access in the Cloudways control panel).
- The plugin will fetch your Cloudways servers. Select the destination server and the specific application you created.
- Enter your source site’s SFTP credentials (your current host provides these — look in cPanel under FTP Accounts or ask support).
- Confirm the migration settings: the plugin shows you source URL, destination URL, and confirms it will handle search-replace for the URL change automatically.
Run and Confirm
- Click Migrate. The plugin connects to your Cloudways server directly and transfers files and database in the background. You can close the browser — it runs server-side.
- Monitor progress in the Cloudways Migrator status screen. A typical WordPress site (under 5 GB) completes in 20–40 minutes.
- When migration completes, visit your application’s temporary Cloudways URL (
*.cloudwaysapps.com) to confirm everything loaded correctly. - Check wp-admin, the homepage, and at least two inner pages. If all three look correct, proceed to the DNS switch.
The Cloudways Migrator handles the database credential update and the URL search-replace automatically — the two steps that most commonly trip up manual migrations.
Post-Migration Checklist
DNS and final verification is where people get impatient and cut corners. Don’t. The old server stays live until everything on the new server is confirmed clean.
Update DNS and SSL
- Log in to your DNS provider and update the A record to point to your new Cloudways server’s public IP (found in the Cloudways control panel under the server → Server Details).
- Because you already lowered TTL to 300 earlier, propagation takes 5–15 minutes for most resolvers. You can verify current propagation at dnschecker.org.
- Once DNS resolves to the new IP, go to Cloudways → SSL Certificate and issue a free Let’s Encrypt certificate for your domain. This takes about 60 seconds.
- Confirm the site loads over
https://with no browser security warnings.
Test Functionality
Run through this checklist on the live domain after DNS propagates:
- Homepage loads with correct theme and images
- Internal links navigate correctly (no 404s)
- WordPress admin login works
- Contact forms submit successfully (test with a real submission)
- WooCommerce checkout flow completes (if applicable) — add a test product to cart, proceed through checkout, confirm order confirmation email arrives
- Any third-party API integrations (payment gateways, CRMs) function correctly
- Search (if using a plugin like Relevanssi) returns results
If your site ran on http:// on the old server and now runs on https://, run a search-replace in the database to update all hardcoded HTTP URLs to HTTPS. The free Better Search Replace plugin handles this without breaking serialized data — search for http://yourdomain.com and replace with https://yourdomain.com across all tables.
Enable Caching and Backups
Once the site is verified on the new managed cloud hosting server:
- Install Breeze (Cloudways’ free caching plugin) — Plugins → Add New → search “Breeze” → Install and Activate. Enable page caching and enable Cloudflare integration if you’re behind Cloudflare.
- Configure automated backups in the Cloudways control panel: Server → Backups → set a daily backup schedule with a 7-day retention window.
- Raise your DNS TTL back to 3600 now that the migration is stable.
- Keep the old server provisioned for 48–72 hours as a fallback, then cancel when you’re confident everything is working.
See Cloudways plans and pricing
Troubleshooting Common Migration Issues
Even a clean migration can surface issues that weren’t visible on the old server. Here are the ones I see most often across how to migrate a wordpress site support questions.
Broken Links and Media
Symptom: Images missing, internal links returning 404s, or the admin redirects to the old domain.
Cause: The database still contains hardcoded references to the old domain or old file paths.
Fix: Use Better Search Replace to run a search for the old domain (both http:// and https:// variants) and replace with the new domain. Run it in dry-run mode first to preview changes. For Cloudways-specific migrations, the official migrator plugin handles this automatically — if you see this issue after using the Cloudways Migrator, it usually means the source URL wasn’t entered correctly during setup. Re-run the search-replace manually to patch it.
Also check that the WordPress address (URL) and site address in Settings → General both show the correct new domain over HTTPS.
Mixed-Content Warnings
Symptom: The site loads but shows a “Not Secure” warning or a broken padlock in the browser, even with SSL active.
Cause: Some resources (images, scripts, stylesheets) are still loaded over http:// hardcoded in the database or in a page builder’s metadata.
Fix: Run Better Search Replace with a search for http://yourdomain.com → https://yourdomain.com. This catches most cases. For page builders like Elementor, also run a search for the old URL in the serialized JSON stored in wp_postmeta. If you use Elementor, go to Elementor → Tools → Replace URL and run the built-in replace tool — it handles Elementor’s serialized data correctly where a generic search-replace sometimes doesn’t.
For a quick diagnosis, paste your URL into Why No Padlock — it lists every insecure resource on the page so you know exactly what to fix.
Performance Checks
After migrating to managed wordpress hosting, you should see measurable performance improvement compared to shared hosting. If you don’t, check these in order:
- Caching active? Breeze must be installed and page caching must be enabled. Visit your site in an incognito window and check response headers for
x-cache: HIT. If you seeMISSon every request, caching isn’t working. - PHP version matched then upgraded? If you’re still on PHP 7.4 on the new server, upgrade to PHP 8.2 or 8.3 in Cloudways (Application → Settings and Packages → PHP Version). Most modern WordPress sites see a 15–25% speed improvement from PHP 7.x to PHP 8.x.
- Object caching enabled? For WooCommerce stores or high-traffic sites, enable Redis object caching in Cloudways (Server → Manage Services → Redis → Enable), then install the Redis Object Cache plugin in WordPress.
- Database indexes healthy? After migration, run WP-Optimize → Database to clean up post revisions, transients, and auto-drafts that accumulated on the old server. This can cut database query time by 20–40% on older sites with years of accumulated data.
If performance still lags after all four checks, the bottleneck is likely server size — upgrade the Cloudways server to the next RAM tier (from 1 GB to 2 GB DigitalOcean, for example). On Cloudways this takes about 3 minutes and doesn’t require a new migration.
Frequently Asked Questions
How do I migrate a WordPress site to a new host? Back up your site first using UpdraftPlus or BackWPup, then choose a migration method: manual (export DB via phpMyAdmin, transfer files over FTP), plugin-based (All-in-One WP Migration, Duplicator, or Migrate Guru), or a free managed service (Cloudways Migrator plugin handles both files and database automatically). After copying, update DNS and verify the site before removing the old host.
Will migrating WordPress cause downtime? With proper preparation, downtime can be kept to 15–30 minutes or less. Lower your DNS TTL to 300 seconds at least 24 hours before the migration so the cutover propagates fast. Run the file and database copy in the background before flipping DNS so the new server is fully ready the moment you switch.
Can I migrate WordPress for free? Yes. The Cloudways Migrator plugin is completely free and has no file-size limit. Migrate Guru is also free with no size cap. All-in-One WP Migration has a free tier that works for sites under 512 MB. If your site exceeds that threshold, Duplicator’s free version or Migrate Guru handles larger transfers without charging you.
How do I move WordPress to Cloudways? Install the free Cloudways Migrator plugin on your current WordPress site, enter your Cloudways API key and destination server details, then click Migrate. The plugin copies your files and database to the new server and handles the URL replacement. Most sites complete the transfer in under 30 minutes.
What is the easiest way to migrate a WordPress site? The Cloudways Migrator plugin is the easiest option for moving to managed cloud hosting. It is free, has no file-size limit, and automates the entire process — files, database, and search-replace — in a single workflow. For non-Cloudways destinations, Migrate Guru offers a similarly hands-off experience.
How long does a WordPress migration take? A typical WordPress site takes 30–90 minutes to migrate from start to finish, including backup, file transfer, DNS switch, and final verification. Larger sites (10 GB+) or slow shared-hosting servers can stretch that to 2–3 hours. DNS propagation adds another 1–24 hours depending on your TTL settings going in.
How do I avoid losing data during migration? Take a full backup immediately before starting — files and database — using UpdraftPlus, BackWPup, or your host’s native backup tool. Store the backup off-server (cloud storage or local drive). Keep the old server live until the new site is fully verified. Do not cancel your old hosting plan until DNS has propagated and every page, form, and checkout flow tests cleanly on the new host.