Skip to main content
Tenant resolution is host-based. Streamly reads the normalized Host header (works behind any proxy that preserves it).

Host patterns

Reserved platform hosts & slugs

Reserved hostnames include streamly.watch, www, admin, app, api. Reserved subdomain slugs (cannot be used as tenant slugs): www, api, admin, app, customers (RESERVED_SUBDOMAINS in lib/streamly/tenant-context.ts). The SaaS fallback host is typically customers.streamly.watch.

Environment

Cloudflare for SaaS (optional)

Automated custom-hostname provisioning uses:
Without these, the app still runs; you manage DNS/TLS yourself. APIs: /api/v1/domains.

Admin / dashboard hosting

/admin and /dashboard are served on the platform host. Visiting them on a tenant host redirects to NEXT_PUBLIC_PLATFORM_HOST.