ArchitectureSubdomain Plan

Subdomain Plan

Surviva follows the Kennis Capital subdomain architecture. Each subdomain serves a distinct audience surface.

Active Subdomains

SubdomainStatusPurpose
suriva.healthLiveMarketing site
app.suriva.healthLiveApplication (health assessments, wellness tracking)
docs.suriva.healthLiveDocumentation wiki (this site)
api.suriva.healthLiveFastAPI backend on Fly.io

Planned Subdomains

SubdomainPhasePurpose
admin.suriva.healthPhase 2Practitioner verification, safety flags, audit log
cms.suriva.healthPhase 2Manuscr CMS instance for health content
console.suriva.healthPhase 3Developer portal, API keys, webhook config
staging.suriva.healthActiveStaging environment for QA
api-staging.suriva.healthActiveStaging API on Fly.io

DNS Configuration

All subdomains use Cloudflare DNS with the following pattern:

RecordTargetProxied
suriva.healthcname.vercel-dns.comYes
app.suriva.healthcname.vercel-dns.comYes
docs.suriva.healthcname.vercel-dns.comYes
api.suriva.healthFly.io anycast IPsNo (Fly manages TLS)

Health Data Compliance

All Surviva subdomains serve content from EU West 1 (Ireland) infrastructure. User health data never leaves the EU region. This applies to:

  • Supabase database (eu-west-1)
  • Fly.io backend (eu-west region)
  • Vercel frontend (edge, with data fetching from EU backend)