Skip to content

Hostnames & domains

Summarized from PRODUCT-ARCHITECTURE-PLAN.md §4.1–4.2.

Production hostnames

SurfaceHostnameAudience
Marketingtenancyengine.comPublic
Operator consoleconsole.tenancyengine.comBuilders (us + future vendors)
Account / MFA / securityaccount.tenancyengine.comHuman auth enrollment & security settings
Documentationdocs.tenancyengine.comBuilders (see docs tiers below)
Auth / OIDC (issuer)auth.saasruntime.comMachine OIDC metadata; apps redirect humans via account hub
Runtime APIapi.saasruntime.comApp backends
Webhooks ingresshooks.saasruntime.com (optional)External systems
TE billing portalbilling.tenancyengine.comISVs paying TenancyEngine (white-label; TenaBill backend)
TenaBill marketingtenabill.comStandalone billing merchants
TenaBill merchant consoleconsole.tenabill.comTenaBill merchants
TenaBill customer portalportal.tenabill.com or merchant CNAMEEnd customers

Documentation (VitePress on Cloudflare Pages)

TierTenancyEngineTenaBillDeploy trigger
Localhttp://localhost:5173http://localhost:5174npm run dev in {repo}/docs/
Devdocs-dev.tenancyengine.comdocs-dev.tenabill.comPush to main (with app staging deploy)
Stagingdocs-staging.tenancyengine.comdocs-staging.tenabill.comPush to main (with app staging deploy)
Productiondocs.tenancyengine.comdocs.tenabill.compromote-staging-to-production in infra

Consoles resolve the matching docs host from the page hostname (console-dev.*docs-dev.*, etc.).

Non-production (team-only)

EnvironmentPatternAccess control
Development*-dev.* (e.g. console-dev.tenancyengine.com, auth-dev.saasruntime.com)Cloudflare tunnel → loopback
Staging*-staging.*METEOR staging stack
Local devlocalhost + tunnel *-dev.*Developers only

No separate brand domains per environment — only DNS subdomains.

SDK environment contract

Production apps embed SaaSRuntime URLs only — never TenancyEngine URLs in customer-facing SDK config:

text
TENANCY_APPLICATION_ID=<uuid>
SAASRUNTIME_AUTHORITY=https://auth.saasruntime.com
SAASRUNTIME_API=https://api.saasruntime.com

Human vs machine surfaces

TypeExamplesUsed for
Human-facingaccount.tenancyengine.com, console.tenancyengine.com, billing.tenancyengine.comLogin, MFA enrollment, console UI, billing portal
Machine-facingauth.saasruntime.com, api.saasruntime.com, api.tenabill.comOIDC metadata, API calls, token issuer URLs in SDKs

Email links for humans use TenancyEngine (or merchant/app) hosts. Token issuer URLs in OIDC metadata remain SaaSRuntime.

TenancyEngine platform documentation