// CUSTOM DOMAINS
Platform Subdomains
Every project gets a `{name}-{hash}.anysites.app` subdomain; how routing works underneath.
Every project gets a subdomain of the form {project-name}-{random-hash}.anysites.app — the random suffix exists because project names aren't globally unique across every AnySites account.
Underneath, each project's traffic is routed by a Caddy instance running on the worker node the project is deployed to, reverse-proxying to whichever container port the active deploy is bound to. That routing is updated atomically on every successful deploy — there's no way to end up serving a mix of old and new versions.
Subdomains aren't currently user-configurable per environment (there's no separate staging vs. production subdomain concept) — one project has one platform subdomain, tied to its single active deploy.