Overview
Mapping incoming domains to the correct application container.
Definition
Mapping incoming domains to the correct application container.
Real-world example
api.example.com → API container, www.example.com → marketing static site, both on one VPS with separate Caddy site blocks.
Common mistake
Two apps claiming the same hostname in the dashboard, causing unpredictable routing.
Better-PaaS in practice
Each domain attachment is tied to one app. Wildcard domains depend on Caddy configuration and DNS setup.
FAQ
Is domain routing only relevant to Better-PaaS?
No. domain routing appears across Docker, cloud platforms, and self-hosted tooling. Better-PaaS exposes the concept in deploy logs, dashboard fields, or docs when it affects your app.