Switching hosts scares a lot of people: you worry about losing the site, your email or your Google rankings. Done in the right order, a migration takes a few hours and visitors never notice. Here are the steps.
1. Before you touch anything: take inventory
Write down:
- where the domain is registered and who manages DNS (not always your host);
- the mailboxes on the domain: how many and where they live;
- your PHP version and plugins, especially caching and security ones;
- scheduled jobs (cron), contact forms, integrations with payments or business tools.
This list prevents the most common surprise: the site moved, the email gone.
2. A full backup, downloaded to your computer
You need two things: the files (the WordPress folder, above all wp-content) and the database. Use your old host's backup tool or a migration plugin. Download the copy: a backup that only lives on the old server is not a backup.
3. Prepare the new space
On the new host, create the site with the same domain, the same PHP version (or newer, if your plugins support it) and an empty database.
4. Copy files and database
- Upload the files to the new site folder.
- Import the database.
- Update
wp-config.phpwith the new database name, user and password.
If the domain stays the same, there is no need to search and replace URLs in the database.
5. Test before you switch the domain
The trick is to see the new site before your visitors do. Edit your computer's hosts file to point the domain to the new server, or use the preview address many hosts provide. Check the homepage, inner pages, login, forms and checkout if you run a store.
6. Lower the TTL and change DNS
A day before, lower the TTL of your DNS records (for example to 5 minutes) so the change spreads quickly. Then update the domain's A records with the new server's address. If your email stays where it is, do not touch the MX records.
7. After the switch
- Enable the SSL certificate on the new host.
- Clear caches (plugin, CDN, browser).
- Watch Google Search Console and your contact forms for a few days.
- Keep the old hosting active for at least a week, then cancel.
If you'd rather not do it yourself
Every 1Prime Cloud plan includes the migration of a WordPress site: send us access to your old host and we handle the move. Bring your site over.