Domain Migration

This workflow supports legacy-domain migration while preserving visibility into inbound traffic patterns before final redirect policy is locked.

Primary Policy

Configuration Source

Cloudflare Rule Shape

For each legacy domain:

  1. Enable proxying through Cloudflare.
  2. Create a redirect rule matching host.
  3. Target URL expression:
    • https://www.just3ws.com${uri}
  4. Status code: 301.
  5. Preserve query string.

Log Capture

Export logs with at least:

Then summarize with:

ruby ./bin/report_legacy_domain_logs.rb path/to/cloudflare-export.csv

Output Use