Preflight report

Run a lightweight detect + preflight cycle to surface risks before the live migration window. Capture disk footprint, database sizing, and rsync exclusions without touching production traffic.

Connection & scope

Define the source host and target metadata for your preflight run.

Public IP or DNS of the WordPress origin.

Paste the host key to avoid strict host prompts.

Used in the hosts file helper below.

Credentials are only used to gather WordPress metadata; no files are modified during preflight.

Checklist

Detect and preflight progress updates appear in real time.

WordPress installation detected

GM2 confirms wp-config.php and database credentials before continuing.

Preflight metrics collected

Disk footprint, database size, and rsync exclusions are recorded for planning.

Preflight summary
PHP version
Pending
Disk usage
Pending
Database size (MB)
Pending
Rsync excludes
Pending

DNS TTL helper

Lower TTL values ahead of cutover using provider APIs.

Execute the relevant commands 24 hours before the migration to ensure cached DNS records expire quickly.

Cloudflare

curl -X PATCH   "https://api.cloudflare.com/client/v4/zones/$ZONE_ID/dns_records/$RECORD_ID"   -H "Authorization: Bearer $API_TOKEN"   -H "Content-Type: application/json"   --data '{"ttl":300}'

AWS Route 53

aws route53 change-resource-record-sets --hosted-zone-id ZONEID --change-batch '{"Changes":[{"Action":"UPSERT","ResourceRecordSet":{"Name":"example.com.","Type":"A","TTL":300,"ResourceRecords":[{"Value":"203.0.113.10"}]}}]}'

DigitalOcean

curl -X PUT   "https://api.digitalocean.com/v2/domains/example.com/records/$RECORD_ID"   -H "Authorization: Bearer $DO_TOKEN"   -H "Content-Type: application/json"   -d '{"ttl":300}'

Hosts file preview

Stage cutover locally before you flip DNS.

Paste the entries below into your hosts file to test the migrated site safely. Replace the preview IP as needed.

macOS

203.0.113.10 example.com
203.0.113.10 www.example.com

Edit /etc/hosts with sudo privileges

Linux

203.0.113.10 example.com
203.0.113.10 www.example.com

Edit /etc/hosts with sudo privileges

Windows

203.0.113.10 example.com
203.0.113.10 www.example.com

Run Notepad as administrator and edit C\Windows\System32\drivers\etc\hosts