Host header before any link resolution occurs:link.brand.com only resolves links created by the organization that owns that domain. Cross-tenant link resolution is impossible at the Worker level.cname.shaf.app. This single CNAME target handles routing for all tenant custom domains globally:link.brand.com → cname.shaf.app, Cloudflare's Anycast network routes traffic for link.brand.com to Shaf's Worker infrastructure at the nearest PoP.link.brand.com — not the shaf.app wildcard cert.Host header value (link.brand.com) and queries D1/KV for the organization that owns it. Link lookups are strictly scoped to that tenant's dataset.alpha on link.brand-a.com, Tenant B cannot resolve or overwrite it on link.brand-b.com. Isolation is enforced at the database schema level through composite primary keys on (domain, slug).| Phase | What Happens | Duration |
| Pending Validation | Hostname registered; CNAME not yet confirmed | Until CNAME propagates |
| Issuance | Certificate issued & distributed to 300+ PoPs | 1–3 minutes after CNAME resolves |
| Active | HTTPS live, edge TLS termination at nearest PoP | Ongoing |
| Auto-Renewal | New cert issued 30 days before expiry | Transparent, zero downtime |