Draft · for review

Reverse proxy plan for phase one

Candid Leap team, 1 October 2026. For the Fairway team.

Staging rehearsalBy 17 October
Launch29 October
DNS changeOnly www, in Azure
Cost$250 a month

01How it works

02The switch, in one record

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.

"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.

03Adding fairway.com to Cloudflare without moving DNS

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.

  1. In Fairway's Cloudflare account, add fairway.com and pick the Business plan.
  2. Skip Cloudflare's instructions to change nameservers.
  3. On the domain's Overview page in Cloudflare, choose "Convert to CNAME DNS Setup". Cloudflare then shows a verification TXT record, cloudflare-verify.fairway.com.
  4. Add that TXT record in Azure DNS, and keep it for as long as the setup exists.

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.

04Domains

DomainWhere it livesUse
fairway.comCurrent Webflow siteRedirects to www.fairway.com, as it does today. Webflow does this, and it never changes during this project.
www.fairway.comCurrent Webflow siteThe public site
webflow1.fairway.comNew Webflow siteThe new site's own domain. The Worker fetches phase one pages from here.
staging.fairway.comAdded to the current Webflow siteOnly for testing the setup before www.fairway.com. Removed after launch. See "How staging behaves".

05How staging behaves

Webflow sends every extra domain on a site to its main domain, which is www. So:

www.fairway.com never redirects, because it's the main domain. fairway.com keeps redirecting to www.

06Milestones

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".

1. SetupNext weekFairway teamCandid Leap team
Why

Gets every piece in place without touching www.

What

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.

Steps
  1. The Fairway team adds fairway.com to its Cloudflare account on the Business plan, without changing nameservers, and converts it to a CNAME setup (see "Adding fairway.com to Cloudflare without moving DNS").
  2. The Fairway team adds the TXT record Cloudflare shows (cloudflare-verify.fairway.com) in Azure, and the zone becomes active.
  3. The Fairway team adds two CNAMEs in Azure, staging and webflow1, both pointing at cdn.webflow.com, with a 5-minute TTL.
  4. The Fairway team adds 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.
  5. The Candid Leap team sets up the Worker and the Terraform scripts in the repository.
  6. The Fairway team runs the scripts, which add 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.
Check

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.

Undo

Nothing to undo. www is untouched.

2. Staging rehearsalBy 17 OctFairway teamCandid Leap team
Why

Runs milestones 3 and 4 on staging.fairway.com first, step for step, so we know each one works before www.

What

staging.fairway.com runs through Cloudflare and the Worker, and passes the whole checklist.

Steps, as in milestone 3
  1. Cloudflare shows TXT records for the staging certificate. The Fairway team adds them in Azure, and we wait until Cloudflare shows the certificate as active.
  2. The Candid Leap team sends test requests for staging straight to Cloudflare, with no DNS change, and checks the certificate and the response.
  3. The Fairway team changes the staging record in Azure from cdn.webflow.com to staging.fairway.com.cdn.cloudflare.net.
  4. The Candid Leap team watches: staging still answers, with its redirect to www and no certificate errors, and we note how long the change takes to reach everyone.
Steps, as in milestone 4
  1. The Candid Leap team turns on the Worker for staging.fairway.com, with the phase one rules.
  2. The Candid Leap team runs the checklist below.
Undo drill
  1. The Candid Leap team turns the Worker off on staging, and checks that it goes back to redirecting to www within seconds.
  2. The Fairway team changes the staging record back to cdn.webflow.com, and we time it. Then we switch it forward again.
Check

Every step above worked, and the checklist passes.

3. www on CloudflareWeek of 19 OctFairway teamCandid Leap team
Why

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.

What

Visitors reach www.fairway.com through Cloudflare and see no change.

Steps, as rehearsed on staging
  1. Monday: The Fairway team lowers the www TTL in Azure from 1 hour to 5 minutes. We wait at least an hour for the old value to expire.
  2. Cloudflare shows TXT records for the www certificate. The Fairway team adds them in Azure, and we wait until the certificate is active.
  3. The Candid Leap team sends test requests for www straight to Cloudflare, with no DNS change, and compares them with today's site.
  4. Midweek: The Fairway team changes the www record in Azure from cdn.webflow.com to www.fairway.com.cdn.cloudflare.net.
  5. The Candid Leap team watches for at least an hour: pages load with no certificate errors, forms work, and fairway.com still redirects to www.
Undo

The Fairway team changes the www record back to cdn.webflow.com. Everyone is back within about 5 minutes.

4. Launch29 OctCandid Leap team
Why

Phase one goes live with one switch, already tested on staging.

What

Phase one pages come from the new site, and everything else from the current site.

Steps, as rehearsed on staging
  1. The Candid Leap team turns on the Worker for www.fairway.com, with the phase one rules. It takes effect in seconds, with no DNS change.
  2. The Candid Leap team runs the checklist on www.
  3. The Candid Leap team watches errors and loan officer pages through the day.
Undo

The Candid Leap team turns the Worker off on www. Every page comes from the current site again within seconds.

07Backups before every change

Before each milestone, we save the current state, so anything can go back exactly as it was.

08What changes

Azure DNS Fairway team

RecordChangeWhen
TXT records from CloudflareAdd, for verification and certificatesMilestones 1 to 3
staging.fairway.comNew CNAME to cdn.webflow.com, later changed to staging.fairway.com.cdn.cloudflare.netMilestone 1, then 2
webflow1.fairway.comNew CNAME to cdn.webflow.comMilestone 1
www.fairway.comTTL to 5 minutes, then the CNAME changed from cdn.webflow.com to www.fairway.com.cdn.cloudflare.netMilestone 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 Fairway team

09How we set it up: Terraform

10SSL

11Security headers

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):

Both stop other websites from showing fairway.com pages inside a frame.

12Checklist (staging first, then www)

13If something goes wrong

  1. Turn off the Worker on www.fairway.com: back to the current site in seconds.
  2. If needed, change the www.fairway.com record in Azure back to cdn.webflow.com: about 5 minutes.

14What we need from the Fairway team

15Cost

16Docs

Cloudflare

Webflow

Azure

Terraform