RackUp IT - View Cloud Hosting Plans

Get started now or speak directly with our engineering team for specialized assistance.

Logo
DevelopmentWEB & APPCalculatorTOOLServicesProductBlogOur TeamCareers
View Plans
Home>Blog>How to Move a WordPress Site to a New Host (Without Downtime)
WordPress Hosting

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

Alex Vance
Alex Vance
Published Oct 14, 2026•✓ Verified Expert Reviewed•4 min read
Move a WordPress site to a new host guide cover

Key Takeaways

  • ✓Keep the old host running until the new one is tested and DNS has switched.
  • ✓Use a migration plugin for most sites; do it manually for very large sites.
  • ✓Preview the site on the new server before touching DNS.
  • ✓Lower your DNS TTL a day before the switch to make it near-instant.

Table of Contents

  • •How to Move a WordPress Site to a New Host (Without Downtime)
  • •Before You Start
  • •Method 1: Move WordPress With a Migration Plugin
  • •Method 2: Move WordPress Manually
  • •1. Copy the files
  • •2. Export and import the database
  • •3. Update wp-config.php
  • •4. Fix URLs if the domain changes
  • •Test the Site Before Switching DNS
  • •Switch DNS and Finish Up
  • •Common Problems After Moving WordPress
  • •Frequently Asked Questions
  • •Want Us to Move It for You?

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

Moving a WordPress site to a new host sounds risky, but the process is predictable once you know the order: copy everything, test it on the new server before anyone sees it, then point the domain across. Done this way, visitors never see downtime, and if anything goes wrong your old site is still live.

Before You Start

  • Keep the old hosting active until the move is finished and DNS has switched. Do not cancel it first.
  • Take a full backup (files and database) and download it to your own computer.
  • Lower your DNS TTL to 300 seconds at your DNS provider a day in advance, so the final switch takes minutes instead of hours.
  • Plan a content freeze: on a blog, avoid publishing during the move; on a WooCommerce store, pick a quiet hour so no orders are lost between the copy and the switch.

Use our WordPress migration checklist to tick off each step.

Method 1: Move WordPress With a Migration Plugin

For most sites under a few gigabytes, a plugin is the fastest and safest route. Popular options include Duplicator, All-in-One WP Migration and UpdraftPlus (with its migration add-on). The steps are similar for all of them:

  1. Install the plugin on the old site and create a full export (files plus database).
  2. On the new host, create an empty database and install a fresh WordPress (or use the plugin's installer script).
  3. Import the package on the new site. The plugin replaces the content and rewrites URLs if the domain changes.
  4. Log in on the new site with your old admin username and password; the database came across with it.

Check each plugin's free-version limits before you start; some cap the import size, which matters for sites with large media libraries.

Method 2: Move WordPress Manually

Manual migration gives you full control and works for any size of site. You need SSH or SFTP access on both servers.

1. Copy the files

# On the new server, pull files straight from the old one
rsync -avz olduser@old-server:/var/www/example.com/ /var/www/example.com/

If you only have SFTP, download the WordPress folder (including wp-content) and upload it to the new server.

2. Export and import the database

# On the old server
mysqldump -u DB_USER -p DB_NAME > site.sql

# On the new server
mysql -u NEW_USER -p NEW_DB < site.sql

3. Update wp-config.php

Change DB_NAME, DB_USER, DB_PASSWORD and DB_HOST to the new database details.

4. Fix URLs if the domain changes

If you are also changing domain, use WP-CLI so serialized data is updated safely:

wp search-replace 'https://old-domain.com' 'https://new-domain.com' --skip-columns=guid

Never run a plain SQL find-and-replace on WordPress URLs; it breaks serialized settings in widgets and page builders.

Test the Site Before Switching DNS

Preview the new copy while the world still sees the old one. Edit the hosts file on your computer to point your domain at the new server's IP:

# Windows: C:\Windows\System32\drivers\etc\hosts
# macOS/Linux: /etc/hosts
203.0.113.10  example.com www.example.com

Then check the homepage, a few posts, forms, logins, checkout (on a store) and the admin area. Remove the hosts entry when you are done. If you use a staging workflow, our guide to WordPress staging sites shows how to test changes safely afterwards too.

Switch DNS and Finish Up

  1. Update the domain's A record (and www) to the new server IP.
  2. Install SSL on the new server as soon as DNS points to it.
  3. Re-save permalinks (Settings > Permalinks > Save) to regenerate rewrite rules.
  4. Watch both servers for 24–48 hours. When the old one stops receiving traffic, take a final backup and cancel it.

Common Problems After Moving WordPress

  • "Error establishing a database connection": wrong details in wp-config.php, or the database user lacks privileges.
  • Every page except the homepage returns 404: re-save permalinks; on Nginx, make sure try_files is set (see fixing 404s in Nginx).
  • Mixed content warnings after SSL: some URLs still use http; run a search-replace from http to https.
  • Images missing: the wp-content/uploads folder did not copy fully, or file permissions are wrong.

Frequently Asked Questions

How long does it take to move a WordPress site to a new host?
A small site takes 30–60 minutes of work. DNS changes then take minutes to a few hours to reach everyone, faster if you lowered the TTL in advance.

Will moving WordPress hurt my SEO?
Not if the URLs stay the same and the site has no downtime. Search engines only see the IP change.

Can I move WordPress to a new host without a plugin?
Yes. Copy the files with rsync or SFTP, export the database with mysqldump, import it on the new server and update wp-config.php.

Do I need to reinstall plugins and themes?
No. They live in the wp-content folder and the database, so they move with the site.

Want Us to Move It for You?

RackUp IT managed WordPress hosting includes a free migration: we copy your files and database, test the site on our servers, and switch DNS only when everything checks out, so your visitors never see downtime.

← Previous ArticleCloudways, WP Engine and Kinsta Alternative: Managed WordPress VPS for LessNext Article →WordPress Migration Checklist: Before, During and After the Move
Interactive 60-Second Tool

Unsure Which Cloud Hosting Plan Fits Your Site?

Answer 4 quick diagnostic questions to estimate the server CPU, RAM and storage you need with transparent pricing.

Free Migration 99.9% Uptime Target
Calculate My Hosting Build
Alex Vance
Written ByAlex Vance

Cloud Infrastructure Engineer.

99.9% Uptime Target

RackUp IT - View Cloud Hosting Plans

View Hosting Plans

View Hosting Plans

CONTENTS

  • How to Move a WordPress Site to a New Host (Without Downtime)
  • Before You Start
  • Method 1: Move WordPress With a Migration Plugin
  • Method 2: Move WordPress Manually
  • 1. Copy the files
  • 2. Export and import the database
  • 3. Update wp-config.php
  • 4. Fix URLs if the domain changes
  • Test the Site Before Switching DNS
  • Switch DNS and Finish Up
  • Common Problems After Moving WordPress
  • Frequently Asked Questions
  • Want Us to Move It for You?

Categories

  • VPS Hosting
  • DevOps & Tutorials
  • WordPress Hosting
  • Cloud Hosting
  • Server Stack
  • Networking & Security
  • Web Hosting / Managed Cloud
  • E-Commerce
  • Hosting & SEO
  • Hosting Benchmarks
  • Cloud Backup & DevOps
  • Managed VPS

Recent Posts

  • Vultr Alternatives in 2026: VPS Hosting for Developers Compared
  • Docker Port Mapping Explained: -p, EXPOSE and Compose ports
  • Bluehost Alternatives (2026): WordPress Hosting Without the Renewal Price Jump

Tags

WordPressMigrationWordPress HostingDNS

Related Posts

Bluehost alternatives coverWordPress Hosting
Nov 25, 2026

Bluehost Alternatives (2026): WordPress Hosting Without the Renewal Price Jump

Bluehost's 2026 WordPress prices, what's included, and the alternatives for one site with monthly billing and the same price at renewal, with honest trade-offs.

Read Article →
Hostinger alternatives coverWordPress Hosting
Nov 17, 2026

Hostinger Alternatives (2026): WordPress Hosting Without Long Prepaid Terms

Hostinger's low WordPress price needs a 48-month prepay and renews higher. Its 2026 prices, what's included, and the alternatives, with an honest look at trade-offs.

Read Article →
WordPress 5-minute install coverWordPress Hosting
Nov 16, 2026

The WordPress 5-Minute Install, Step by Step (2026)

WordPress's famous 5-minute install, step by step: requirements, database, file upload, wp-config.php, the web installer, WP-CLI and fixes for common install problems.

Read Article →
Logo

Expert Web & App Development, UI/UX Design, Branding, and Consulting to scale your business.

Company

  • About Us
  • Blog
  • Contact
  • Our Team
  • Careers

Services

  • Web Development
  • App Development
  • UI/UX Design
  • Consulting
  • Managed WordPress VPS
  • Website Speed Test

Subscribe to our newsletter

We accept
  • bKash
  • Nagad
  • Rocket
  • Upay
  • CellFin
  • Meghna Pay
  • OK Wallet
  • Tap
  • mCash
  • DBBL Nexus
  • Visa
  • Mastercard
  • American Express
  • Crypto
Pay with Visa, Mastercard, American Express, DBBL Nexus, CellFin, Rocket, bKash, Tap, Meghna Pay, Nagad, mCash, Upay and OK Wallet. Verified by EPS

© 2026 Rackup IT Solution. All rights reserved.

Privacy PolicyTerms of Service