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./, and folders, such as locations, lo and branch, where a folder covers every page under it. Capitals don't matter. Anything not on the list goes to the current site. The list is one file in the Worker's repository, kept by the Candid Leap team. Changing it is a deploy of about two minutes, and every earlier version can be restored.www.fairway.com or webflow1.fairway.com, with the visitor's method, body, cookies and headers, plus the visitor's IP address in X-Forwarded-For. Each site sees an ordinary request for its own domain. The response comes back with that site's own headers, plus one header naming which site answered, so anyone can check where a page came from.cdn.webflow.com, and skips every Worker on the way. That's why www, staging and webflow1 each need a record in Cloudflare.webflow1.fairway.com with www.fairway.com in the target. Inside pages, Webflow writes links to its own pages as paths without a domain, and the global canonical URL puts www in the canonical tag and the sitemap. The Worker doesn't rewrite page content, as Webflow's guide advises, so the checklist confirms that no page, redirect, canonical or sitemap names webflow1.robots.txt passes through from the current site unchanged. sitemap.xml is the one file the Worker builds itself, from both sites' sitemaps. Details under "Search engines"./.well-known/ on www. A second route, www.fairway.com/.well-known/* with no Worker on it, keeps those requests out of the Worker, so renewal keeps working. Staging gets the same route. If a renewal ever fails, Cloudflare shows TXT records 30 days before expiry, and the Fairway team adds them in Azure. The first renewal falls in mid-December, and we check it then.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 | When |
|---|---|---|---|
fairway.com | Current Webflow site | Redirects to www.fairway.com, as it does today. Webflow does this. | No change during this project. |
www.fairway.com | Current Webflow site | The public site. | Through Cloudflare on Wed 21 Oct, eight days before launch. Phase one pages come from the new site from Thu 29 Oct. |
webflow1.fairway.com | New Webflow site, as its main domain | The new site's own domain. The Worker fetches phase one pages from here. Hidden from search. | Set up by Thu 15 Oct. Stays while the setup exists. |
staging.fairway.com | New Webflow site, as an extra domain | Only for rehearsing every step before www. Hidden from search. | Set up by Thu 15 Oct, rehearsed by Tue 20 Oct, removed after launch. |
The current Webflow site gets no new domain, so nothing is added to it or republished for this setup.
Webflow sends every extra domain on a site to its main domain. On the new site, that's webflow1.fairway.com. So:
staging.fairway.com redirects to webflow1.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 current site's 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". The dates below were reset on 12 October; launch stays 29 October.
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.webflow1.fairway.com (as the main domain) and staging.fairway.com to the new site, on a paid plan, and publishes it. Webflow issues a certificate for each.www, staging and webflow1 in Cloudflare as proxied records pointing at cdn.webflow.com. The Worker looks up every hostname it fetches in Cloudflare's own records, so each one needs a record there. No visitor goes through them until the record in Azure points at Cloudflare.staging.fairway.com redirects to webflow1.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 eight days before launch, while every page still comes from the current site, so launch day is only a Worker setting.
Visitors reach www.fairway.com through Cloudflare and see no change. The team tests the phase one pages on the real www in preview.
www record in Azure from cdn.webflow.com to www.fairway.com.cdn.cloudflare.net.fairway.com still redirects to www.www.fairway.com in preview. Visitors still get every page from the current site. Only browsers with a preview cookie the team sets get the phase one pages from the new site, and we run the whole checklist on www. If the Worker ever hits an error, Cloudflare sends that request straight to the current site.Turn the Worker off on www: every page comes from the current site, in seconds. If needed, 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 setting, already tested on staging and in preview on www.
Phase one pages come from the new site, and everything else from the current site.
The Candid Leap team turns preview back on, or the Worker off. Every visitor gets the current site again within seconds.
www and webflow1 in Fairway's Cloudflare records, not in Azure, and those requests go straight to Webflow without passing through the Worker again, so they can't loop. Staging shows this working. Preview then tests it on the real www, through Cloudflare, to both sites, before any visitor sees a change.Moving www through Cloudflare doesn't change what search engines see. Serving pages from the new site does, so these settings are part of the launch.
https://www.fairway.com as their global canonical URL, so every page names its www address wherever it's served from. No page-level canonical on the new site may name webflow1.fairway.com. On the current site, the Fairway team turns the setting on with a regular publish before milestone 3.www.fairway.com/sitemap.xml stays one file. The Worker builds it from both sites' sitemaps, taking each URL from the site that serves it, all on www. The new site uses its global canonical as its sitemap base.www.fairwayindependentmc.com/sitemap.xml, which redirects to www.fairway.com/sitemap.xml, and the loan officer directory on img.fairway.com, which returned 403 to us on 5 October. Should both stay?staging.fairway.com, the Worker sends a robots.txt that blocks everything, and an X-Robots-Tag: noindex header on every response. The new site blocks crawlers in its own robots.txt, which only applies on its own domains. Neither uses a noindex tag inside the page, because the tag would travel with the page to www./about-us redirected to /about-fairway, while /locations/ redirected to https://www.fairway.com/locations. On the new site, a full address would name webflow1.fairway.com, so the Worker rewrites webflow1.fairway.com to www in every redirect.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.| 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.
Webflow
webflow1.fairway.com as its main domain and staging.fairway.com as an extra one, removed after launch. Global canonical URL https://www.fairway.com, also used as the sitemap base. A robots.txt that blocks all crawlers.https://www.fairway.com, turned on with a regular publish.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 and 5 October, including the homepage, a state page, a product page, a loan officer 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.
http://fairway.com, https://fairway.com and http://www.fairway.com, each with a path and a query string, end at https://www.fairway.com with the same path and query, served by the right site.webflow1.fairway.com or staging.fairway.com, and nothing loops.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.webflow1.fairway.com and staging.fairway.com added to it.Cloudflare
Webflow
Azure
Terraform