Draft · for review

Reverse proxy plan for phase one

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

SetupBy Thu 15 Oct
Staging rehearsalFri 16 to Tue 20 Oct
www on CloudflareWed 21 Oct
LaunchThu 29 Oct

01How it works

02How the Worker works

03The 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.

04Adding 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.

05Domains

DomainWhere it livesUseWhen
fairway.comCurrent Webflow siteRedirects to www.fairway.com, as it does today. Webflow does this.No change during this project.
www.fairway.comCurrent Webflow siteThe 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.comNew Webflow site, as its main domainThe 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.comNew Webflow site, as an extra domainOnly 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.

06How staging behaves

Webflow sends every extra domain on a site to its main domain. On the new site, that's webflow1.fairway.com. So:

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

07Milestones

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.

1. SetupBy Thu 15 OctFairway 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 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.
  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, 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.
Check

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.

Undo

Nothing to undo. www is untouched.

2. Staging rehearsalFri 16 to Tue 20 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 webflow1 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 webflow1 within seconds. We check with a fresh browser, because browsers remember redirects.
  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 CloudflareWed 21 OctFairway teamCandid Leap team
Why

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.

What

Visitors reach www.fairway.com through Cloudflare and see no change. The team tests the phase one pages on the real www in preview.

Steps, as rehearsed on staging
  1. Mon 19 Oct: 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. Wed 21 Oct, in the morning US time: 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.
  6. Thu 22 Oct, if the day went well: The Candid Leap team turns on the Worker for 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.
Undo

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.

4. LaunchThu 29 OctCandid Leap team
Why

Phase one goes live with one setting, already tested on staging and in preview on www.

What

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

Steps
  1. The Candid Leap team turns off preview, so every visitor gets 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 preview back on, or the Worker off. Every visitor gets the current site again within seconds.

08Timing and risk

09Search engines

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.

10Caching and redirects

11Backups before every change

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

12What 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

13How we set it up: Terraform

14SSL

15Security headers

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

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

16Checklist (staging first, then www in preview, then www at launch)

17If 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.

18What we need from the Fairway team

19Cost

20Docs

Cloudflare

Webflow

Google

Azure

Terraform