Guides How to Migrate Your Website to a New VPS
Decision Brief 11 · Tutorial · May 2026

How to Migrate Your Website to a New VPS

A step-by-step migration framework for moving a website or application from shared hosting or another VPS to a new provider with minimal downtime.

Difficulty: Intermediate Read time: 13 min read SEO track: Tutorial
Guide Verdict
Editorial decision summary
11

A successful VPS migration comes down to preparation: replicate the stack, test the new environment with a temporary domain or hosts file, sync files and databases, update DNS, and keep the old server running for at least 48 hours as a rollback option.

Use this guide if you need to
  • Back up everything on old server
  • Document current stack and versions
  • Set up identical or newer stack on new VPS
  • Test with temporary hostname before DNS cutover
Apply this to providers
Verdict first Action checklist Comparison path Updated May 2026
Executive Summary

A successful VPS migration comes down to preparation: replicate the stack, test the new environment with a temporary domain or hosts file, sync files and databases, update DNS, and keep the old server running for at least 48 hours as a rollback option.

Difficulty
Intermediate
Reading time
13 min read
Content track
Tutorial
1

Pre-migration checklist

Document the current server configuration: OS version, PHP version, database version, web server type, installed extensions, cron jobs, and any third-party services. Take a full backup of files and databases. Note current DNS TTL values and plan to lower them to 300 seconds before cutover.

2

Set up the target VPS

Provision the new VPS with the same or newer OS version. Install the web server, database, PHP or runtime, and all required extensions. Configure firewall rules, create the same user accounts, and set up SSH keys. Import the database and files, then test the site using a temporary hostname or IP.

3

Cutover and verification

Lower DNS TTL at least 24 hours before migration. Put the old site in maintenance mode, perform a final data sync, update DNS records, and monitor traffic shifting to the new server. Keep the old server running for 48 hours. After confirming everything works, cancel the old service.

Action Framework

Decision Checklist

Back up everything on old server
Document current stack and versions
Set up identical or newer stack on new VPS
Test with temporary hostname before DNS cutover
Lower DNS TTL before migration day
Keep old server running 48 hours after cutover
Next step

Turn the guide into a provider shortlist.

Use this framework, then compare real VPS providers by score, pricing, locations, support, and workload fit.