Skip to main content
Knowledge Base

DNS: can we use subdomains for each account? Or do we need different domains?

Answer

A customer asked: > The domain organization recommended in the reference architecture allows to have a domain structure like api.dev.domain.com, api.staging.domain.com, api.domain.com. Will this work, or do we need to use separate domains for each account?

Our Ref Arch supports both approaches: - You can use a single domain, and assign unique subdomains to each account, e.g.; dev.example.com, stage.example.com, prod.example.com - You can use a different domain for each account, if you so wish, e.g.; example.net, example.com, example.io We have automated DNS checks built into our tooling that will ensure your DNS setup is resolving correctly prior to a deployment.