www.fairway.com, in Fairway's own Cloudflare account. DNS stays in Azure; only the www record changes.www.fairway.com.www.fairway.com and fairway.com move to it, and we remove Cloudflare.Today, Azure DNS has one record for www.fairway.com: a CNAME pointing at cdn.webflow.com. That's how visitors reach the current Webflow site.
www.fairway.com → Azure says cdn.webflow.com → the current Webflow site.www.fairway.com → Azure says www.fairway.com.cdn.cloudflare.net → Cloudflare → the Worker sends each page to the current site or the new one."Switching to Cloudflare" means only that: changing the value of that one record in Azure. staging.fairway.com gets the same change first, as a test.
Fairway's nameservers stay in Azure the whole time. Cloudflare's partial (CNAME) setup is made for this, and it's only offered on the Business or Enterprise plan.
cloudflare-verify.fairway.com.From then on, a hostname goes through Cloudflare only when its CNAME in Azure points at <hostname>.cdn.cloudflare.net. Everything else in Azure, including mail and the bare domain, works exactly as today. The Terraform scripts can create the zone as a CNAME setup directly.
| Domain | Where it lives | Use |
|---|---|---|
fairway.com | Current Webflow site | Redirects to www.fairway.com, as it does today. Webflow does this, and it never changes during this project. |
www.fairway.com | Current Webflow site | The public site |
webflow1.fairway.com | New Webflow site | The new site's own domain. The Worker fetches phase one pages from here. |
staging.fairway.com | Added to the current Webflow site | Only for testing the setup before www.fairway.com. Removed after launch. See "How staging behaves". |
Webflow sends every extra domain on a site to its main domain, which is www. So:
staging.fairway.com redirects to www.fairway.com. This is expected.www.fairway.com and new pages from webflow1.fairway.com, so Webflow never sees a request for staging.www.fairway.com never redirects, because it's the main domain. fairway.com keeps redirecting to www.
Staging goes through the exact steps www goes through later, so every step is tried once before it touches the live site. Each milestone starts only when the one before it works. Before each one, we take the backups listed under "Backups before every change".
Gets every piece in place without touching www.
fairway.com is set up in Fairway's Cloudflare account, with DNS still in Azure. staging.fairway.com and webflow1.fairway.com work straight from Webflow.
cloudflare-verify.fairway.com) in Azure, and the zone becomes active.staging and webflow1, both pointing at cdn.webflow.com, with a 5-minute TTL.staging.fairway.com to the current Webflow site and webflow1.fairway.com to the new site (on a paid plan), and publishes both. Webflow issues a certificate for each.www and staging in Cloudflare as proxied records pointing at cdn.webflow.com. No visitor goes through them until the record in Azure points at Cloudflare.staging.fairway.com redirects to www.fairway.com (expected, see "How staging behaves"), webflow1.fairway.com shows the new site, both with valid certificates, and www is unchanged.
Nothing to undo. www is untouched.
Runs milestones 3 and 4 on staging.fairway.com first, step for step, so we know each one works before www.
staging.fairway.com runs through Cloudflare and the Worker, and passes the whole checklist.
staging record in Azure from cdn.webflow.com to staging.fairway.com.cdn.cloudflare.net.staging.fairway.com, with the phase one rules.cdn.webflow.com, and we time it. Then we switch it forward again.Every step above worked, and the checklist passes.
Puts Cloudflare in front of www a week before launch, while every page still comes from the current site, so launch day is only turning on the Worker.
Visitors reach www.fairway.com through Cloudflare and see no change.
www record in Azure from cdn.webflow.com to www.fairway.com.cdn.cloudflare.net.fairway.com still redirects to www.The Fairway team changes the www record back to cdn.webflow.com. Everyone is back within about 5 minutes.
Phase one goes live with one switch, already tested on staging.
Phase one pages come from the new site, and everything else from the current site.
www.fairway.com, with the phase one rules. It takes effect in seconds, with no DNS change.The Candid Leap team turns the Worker off on www. Every page comes from the current site again within seconds.
Before each milestone, we save the current state, so anything can go back exactly as it was.
az network dns zone export -g <resource group> -n fairway.com -f fairway.com.txt. That file is the reference copy. Going back means setting each changed record to its old value, which the Terraform scripts can do.staging.fairway.com is added and published, and of the new site before launch (Site settings → Backups). On a paid plan, Webflow can restore any backup.| Record | Change | When |
|---|---|---|
| TXT records from Cloudflare | Add, for verification and certificates | Milestones 1 to 3 |
staging.fairway.com | New CNAME to cdn.webflow.com, later changed to staging.fairway.com.cdn.cloudflare.net | Milestone 1, then 2 |
webflow1.fairway.com | New CNAME to cdn.webflow.com | Milestone 1 |
www.fairway.com | TTL to 5 minutes, then the CNAME changed from cdn.webflow.com to www.fairway.com.cdn.cloudflare.net | Milestone 3 |
fairway.com (the bare domain) keeps its A record pointing at Webflow. A partial Cloudflare setup can't take the bare domain, and it doesn't need to: Webflow redirects it to www, which then goes through Cloudflare.
staging.fairway.com as one more domain and publish. www.fairway.com stays its main domain, and fairway.com stays on it. Remove staging after launch.webflow1.fairway.com as its domain.cdn.webflow.com for www and 198.202.211.1 for the bare domain (checked on 1 October).The current site sends these two headers on every page (checked on 1 October, including the homepage, a state page, a product page and a 404):
Content-Security-Policy: frame-ancestors 'self'X-Frame-Options: SAMEORIGINBoth stop other websites from showing fairway.com pages inside a frame.
fairway.com still redirects to www.fairway.com.staging.fairway.com record back to cdn.webflow.com works, and we time it.www.fairway.com: back to the current site in seconds.www.fairway.com record in Azure back to cdn.webflow.com: about 5 minutes.staging.fairway.com added to the current Webflow site, and a paid Webflow plan for the new site.Cloudflare
Webflow
Azure
Terraform