Skip to content

Web hosting

Moving a WordPress Website to Another Hosting Account

Move files and database together, test before DNS cutover and preserve a clear rollback path.

WordPressMigrationDNS
Reading time
2 min read
Published
Updated
Maintained by
EnderHost Team

A WordPress migration must preserve both the site files and its database. Copying only uploads misses settings and posts; copying only the database misses themes, plugins and media. Test a complete destination before sending visitors there.

Define the cutover and rollback

Record the source versions, domain, database details, scheduled tasks and mail configuration. Decide when to pause writes, especially for stores, membership sites and busy comment sections. A backup taken hours before cutover may omit new orders or uploads.

  1. Take a complete source backup and keep an independent copy.
  2. Create the destination site and database with compatible software.
  3. Restore the files and import the matching database through a supported migration method.
  4. Update the destination database credentials and any required paths.
  5. Preview using a supported method that preserves the intended hostname where possible.
  6. Freeze writes, take the final data copy, then change DNS when acceptance checks pass.

Handle a domain change separately

Keeping the same domain often avoids broad URL replacement. If the domain changes, use a WordPress-aware migration tool that handles serialized data. A blind text replacement inside a SQL dump can damage stored settings. Keep the original export untouched.

Verify application behavior

Check admin login, media, permalinks, forms and any checkout flow in an appropriate test mode. Review scheduled jobs and external integrations so the source and destination do not both send messages or process jobs during the overlap.

Maintain a clear source of truth after launch. If rollback is required after new orders arrive, simply pointing DNS backward may lose those writes. Reconcile the new data or plan an application-level rollback rather than restoring an old database without review.

Close the transition

Keep the old service until cached DNS answers and validation checks have settled. Then disable its background jobs, retain the agreed backup, and remove temporary access credentials.

Use the DNS cutover guide and verify a restore procedure before retiring the source.

Sources and references

Hosting documentation. Publication and update dates reflect this edition.

Related articles

Related topics

Hardware we trust. Software you know.

PREPARING YOUR EXPERIENCE