Host header (works behind any proxy that preserves it).
Host patterns
Reserved platform hosts & slugs
Reserved hostnames includestreamly.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:/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.