UnderHost
Knowledgebase Docs

WordPress site -move to new hosting safely

Migrate WordPress sites between hosts using plugins or manual backup/restore. Update URLs, test thoroughly, verify functionality.

On this page

WordPress moves your entire site (database, files, settings) to new hosting. Success requires careful planning and verification to avoid broken links, database corruption, or lost functionality.

Migration methods

  • Plugin: All-in-one tools (Duplicator, WP Migrate DB) - easiest
  • Manual: Backup + restore via FTP + database import - most control
  • Hosting provider: Built-in tools (UnderHost support)

Plugin (easiest)

  1. Install Duplicator plugin
  2. Create installer package
  3. Download package files
  4. Upload to new host
  5. Run installer (handles database, URLs, everything)

Manual migration

  1. Backup database: mysqldump -u user -p db > backup.sql
  2. Download all files via FTP
  3. Create database on new host
  4. Upload files to new host
  5. Import database: mysql -u user -p db < backup.sql

Update URLs

After update WordPress to use new domain:

  1. Settings → General: Update Site URL and WordPress URL
  2. If database : Run search/replace (WP-CLI): wp search-replace old.com new.com

Verification checklist

  • ☐ Front page loads correctly
  • ☐ Posts/pages display properly
  • ☐ Links work (internal and external)
  • ☐ Database queries work (no white screen)
  • ☐ Uploads folder accessible
  • ☐ SSL certificate installed
  • ☐ Email sending works
  • ☐ All plugins active and working
Test on new host before switching DNS

Point your domain to new host via /etc/hosts first. Test everything works before updating DNS.

Related: WordPress backup and restore-complete guide | Database backup and recovery | Website migration guide

Was this article helpful?

Need managed WordPress hosting?

Run WordPress on UnderHost managed hosting with performance tuning, SSL, backups, security guidance, and expert support.

Related articles

Back to WordPress