Skip to content

Cutover: claim conduction.nl + deploy Cloudflare Worker for vanity domains #8

@rubenvdlinde

Description

@rubenvdlinde

Tracking the Phase 5 cutover work that was prepared in PR #6 (closed in favour of this issue so the conversation that spec'd it could wrap up). Pick up here when ready to flip conduction.nl.

Context

The sites/www Docusaurus site currently serves connext.conduction.nl (the test surface). Cutover means:

  1. design-system claims conduction.nl (the canonical apex)
  2. connext.conduction.nl and commonground.conduction.nl become Cloudflare-Worker-redirected vanity domains
  3. The legacy conduction-website repo releases its www.conduction.nl claim

Outage during DNS propagation is acceptable; the user agreed to a small migration window.

What's already prepared on the phase-5-cutover branch

  • sites/www/cloudflare/worker.js — locale-aware 301 redirect Worker (~100 lines). Reads Accept-Language, picks /nl or default-locale prefix, maps the vanity host to the right section path (/connext or /commonground).
  • sites/www/cloudflare/wrangler.toml — route bindings + deploy config.
  • briefs/cutover-runbook.md — step-by-step ordering of merge, smoke-test, Worker deploy, and rollback path. Read this first.
  • sites/www/static/CNAME flipped from connext.conduction.nl to conduction.nl.
  • sites/www/docusaurus.config.js url: updated to https://conduction.nl so canonical / OpenGraph URLs match production.

Companion PR (separate repo)

ConductionNL/conduction-website#14 removes that repo's static/CNAME so it releases the www.conduction.nl claim. Merge between Phase 5 step 3 and step 4 per the runbook.

Cutover-day order

  1. Rebase phase-5-cutover onto main (no conflicts expected; cutover branch only touches cloudflare/, briefs/, the CNAME, and one config line)
  2. Merge the conduction-website CNAME-removal PR
  3. Merge the rebased Phase 5 branch
  4. Smoke-test https://conduction.nl/, /connext, /commonground, /nl/
  5. cd sites/www/cloudflare && wrangler deploy
  6. Smoke-test the vanity domains (locale-aware 301)
  7. (Cloudflare console) add a bulk-redirect rule www.conduction.nl/* → conduction.nl/$1

Acceptance

  • https://conduction.nl/ serves the Public Tech landing
  • /connext and /commonground show their sub-brand wordmarks
  • /nl/... serves Dutch translations
  • connext.conduction.nl/... and commonground.conduction.nl/... 301-redirect to canonical, locale-aware
  • www.conduction.nl redirects to apex
  • Phase 5 branch deleted

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions