How to Migrate Your Website to a New Host Without Losing Traffic
Switching web hosts can feel risky, especially when your site’s traffic, sales, and search rankings depend on it. The good news is that a website migration is a series of small, predictable steps. Back up your files, set up the new account, move your data, point your domain at the new server, and test before you switch. Do them in order and most visitors will never notice anything changed.
The process below shows you how to migrate your website to a new host without losing traffic or rankings. The same steps apply whether you run a small business site or a blog.
If you would rather not handle the technical work yourself, Midphase offers a free migration service where the team moves your site for you.
Pre-migration Checklist
Run through this website migration checklist before you touch a single file:
- Confirm your new hosting details, including the server IP address, control panel URL, and login credentials.
- Inventory everything your site depends on files, databases, email accounts, cron jobs, SSL certificates, and any redirects you have configured.
- Write down your current DNS records and nameserver settings, and check whether your domain registration sits with the same company that hosts your website.
- Choose a time to migrate when traffic is lowest, such as late at night or over a weekend.
- Tell anyone else who works on the site what is happening and give the website migration a clear start and end time.

Step 1: Back Up Your Website
Never migrate your website to a new host without a backup you can restore. A backup protects you if files are corrupted, a transfer fails, or a setting is configured incorrectly.
- Website files: Connect to your control panel or an FTP client and download the entire web root, often called public_html.
- Database: Open phpMyAdmin (or your host’s equivalent) and export your databases as .sql files.
- Email: Export any mailboxes or forwarders you want to keep, or plan to recreate them on the new host.
Keep at least two copies of every backup, one on your computer and one in cloud storage, and test that you can restore from at least one copy before going any further. A backup that will not restore is not a backup.
Step 2: Set Up Your New Hosting Account
Open your new account now but leave your domain pointing at the old host until the website migration is complete. Midphase shared hosting starts at $1 for the first month, and every plan includes free SSL certificates, a free CDN, 99.99% uptime, and a 30-day money-back guarantee.
WordPress sites can use Midphase WordPress hosting, also from $1 for the first month, which adds staging, daily backup protection, and one-click restore. If you need a fresh domain, .com domains are $0.99 for the first year.
When the account is live, log in, note the temporary URL or IP address, and confirm you can reach the control panel. Do not change your nameservers yet as that happens in Step 4.
Step 3: Migrate Files and Databases
With the new account ready, you can transfer your data. The exact buttons differ between control panels, but the process is the same everywhere:
- Upload your website files to the new account using File Manager or an FTP client, keeping the same folder structure.
- Create a database and database user in the new control panel, then import your .sql dump through phpMyAdmin.
- Update your site’s configuration file (such as wp-config.php for WordPress) with the new database name, user, and password.
- Recreate any cron jobs and set up your email hosting accounts on the new host so mailboxes and forwarders keep working.
- Check paths and absolute URLs, then load the site using its temporary URL to confirm that the files and the database are talking to each other.
Step 4: Update DNS Settings
This is the step that switches your site over when you migrate your website to a new host. DNS, the Domain Name System, is the phonebook that tells browsers which server hosts your domain.
Log in to your domain registrar and update the nameservers or A record so your domain points at the new host. If your domain is registered with Midphase, you can manage the DNS records in the same control panel, which makes this step faster.
Changes to DNS do not take effect instantly. The update spreads across the internet over the next 24 to 48 hours in a process called DNS propagation. During that window, some visitors will reach the old server and some will reach the new one, which is why keeping the old hosting active is important.
Step 5: Test and Go Live
Test everything on the new server before you switch DNS, and again after the switch takes hold:
- Load your site using the temporary URL and check pages, images, forms, search, and any checkout or payment flows.
- Confirm that your SSL certificate is issued and working on the new host, so visitors see a padlock rather than a security warning.
- Send a test email and check that mailboxes, forwarding, and any form-to-email features work correctly.
Once DNS has propagated, test again from the live domain, clear your cache, and confirm the padlock shows. For SEO, keep your URLs identical and use 301 redirects for anything that changes. You should resubmit your sitemap in Search Console after the move.
Post-Migration Checklist
Your work is not done the moment the site loads. A good website migration ends with a week of careful watching:
- Keep your old hosting active for at least a week and cancel it only once you are sure nothing is still pointing at it.
- Watch your analytics and Search Console for traffic drops or crawl errors in the two weeks after the move.
- On the new host, confirm that backups are running and your security settings are applied.
- Make sure your domain is set to renew on time, so the move does not end with an expired domain.
Frequently Asked Questions
Q: Will migrating affect my SEO?
A: It can, but it does not have to. If you keep your URLs the same, set up 301 redirects for anything that changes, and resubmit your updated sitemap in Search Console, most sites see little or no ranking change. Brief fluctuations during DNS propagation are normal, and rankings usually recover within a week or two.
Q: How long does it take to migrate a website to a new host?
A: The file and database transfer can take anywhere from 30 minutes to a few hours depending on site size. DNS propagation then takes up to 48 hours to complete, though it often finishes much sooner. Plan for a weekend or another low-traffic window and allow a couple of days for the change to settle.
Q: Does Midphase offer free migration?
A: Yes. Midphase migrates your website to its shared or WordPress hosting at no charge, including files, databases, and email accounts. You can request the free migration during signup, and the migration team handles the transfer while you keep your site online.
Q: What is DNS propagation?
A: DNS propagation is the time it takes for the Domain Name System to update worldwide after you change your nameservers or DNS records. During propagation, some visitors are sent to your old host and others to your new one. It usually completes within 24 to 48 hours.
Q: Should I keep my old hosting active during website migration?
A: Yes, at least until DNS propagation has finished and you have confirmed that your site, email, and SSL certificate all work on the new host. Keeping the old account live for a week gives visitors who are still routed there a working site and gives you a safe rollback option if anything goes wrong.