August 21, 2026 · by Alex M.
Migrating a WordPress site to a new hosting provider sounds daunting, but with the right plan it's a clean, well-structured process. Whether you're looking for better performance, more affordable pricing, or advanced infrastructure, switching hosts doesn't have to mean downtime or data loss.
This guide walks you through every step — from creating a full backup to updating your DNS records — so your migration is smooth and stress-free.
There are many valid reasons why WordPress site owners decide to switch hosts:
If you're currently on shared cPanel hosting and feeling the limits, upgrading to a NVMe VPS could be the natural next step.
Before starting the migration, make sure you have:
Tip: Schedule the migration during off-peak hours — late evening or weekends — to minimise impact on your visitors.
This is the most critical step. Never skip it.
.wpress archive to your computer.The archive includes the database, all site files, themes and plugins — everything in a single file.
For full control over what's exported:
public_html, select all files, and download as a .zip archive..sql file will be downloaded.Keep both files safe — they are your only safety net.
Once you've chosen a new provider, prepare the hosting environment.
If you choose optimised WordPress hosting, many settings come preconfigured (recommended PHP version, caching, SSL included). If you opt for a SSD VPS, you'll need to manually install a LAMP/LEMP stack and WordPress.
.wpress archive.Note: The default PHP upload limit may block large file imports. Increase
upload_max_filesizeandpost_max_sizein cPanel → PHP Settings, or contact CLIQHOST support.
public_html directory.wp-config.php with the new database credentials:define('DB_NAME', 'new_database_name');
define('DB_USER', 'new_db_user');
define('DB_PASSWORD', 'new_db_password');
define('DB_HOST', 'localhost');
This step is essential: you need to confirm everything works on the new server before any visitors are redirected there.
Edit the hosts file on your local machine to point the domain to the new server's IP:
Windows: C:\Windows\System32\drivers\etc\hosts
Linux/macOS: /etc/hosts
Add the line:
NEW_SERVER_IP yourdomain.com www.yourdomain.com
Now when you open the domain in your browser, you'll see the site from the new server. Check that:
After testing, remove the line from the hosts file.
Before switching DNS, make sure SSL is active on the new host. A WordPress site without HTTPS loses visitor trust and Google rankings.
On CLIQHOST cPanel hosting, you can enable AutoSSL with one click: cPanel → SSL/TLS → AutoSSL.
For business-grade protection, consider purchasing a premium SSL certificate with OV or EV validation.
This is the actual switch. Updating DNS will direct traffic from the old server to the new one.
Type: A
Name: @
Value: NEW_SERVER_IP
TTL: 300 (5 minutes — for fast propagation)
DNS propagation can take anywhere from 15 minutes to 48 hours depending on previous TTL and your DNS provider. Use whatsmydns.net to monitor propagation globally.
Once DNS has propagated and the site is live on the new server:
| Mistake | Consequence | Solution |
|---|---|---|
| Changing DNS without prior testing | Broken site visible to all visitors | Always test via the hosts file first |
| Forgetting to update wp-config.php | Database connection error | Double-check all DB credentials |
| No SSL on new server | Browser warnings, SEO loss | Install SSL before switching DNS |
| Incomplete backup | Data loss | Use a dedicated plugin or full cPanel backup |
Migrating WordPress is a logical, step-by-step process: backup → new server setup → file transfer → testing → SSL → DNS. The key to success is patience and thorough testing before flipping the DNS switch.
Looking for fast, reliable WordPress hosting? Explore CLIQHOST WordPress hosting plans, or go further with a NVMe VPS for full control and maximum performance. Need hands-on help with the migration? Our server management team is ready to assist — get in touch today.
Real reviews from customers who trust CLIQHOST for performance, reliability and expert technical support.
"We moved our online shop from a foreign host and the difference is night and day — pages load instantly and support replies in minutes, in Romanian."
"Migrated 12 client sites to CLIQHOST. Free migration, zero downtime, and the cPanel setup is exactly what my team needed. Highly recommend."
"Our NVMe VPS handles traffic spikes without a sweat. Full root, local datacenter, and billing in MDL — everything we wanted from a provider."