# Should each tenant in my SaaS app get a subdomain or a path if customers may later bring their own domains?

Canonical: https://www.namesilo.com/questions/websites-and-ai/should-each-tenant-in-my-saas-app-get-a-subdomain-or-a-path-if-customers-may-later-bring-their-own-domains

Published: 2026-11-20

Last updated: 2026-11-20

Topic: Websites & AI

Tenant paths and subdomains are both routing choices; later custom domains still need hostname verification, certificates and tenant mapping.

Choose routing independently of custom domains

Decide how links, authentication and tenant isolation will work before choosing.

Your next steps

Define tenant identity

Design link and login behavior

Plan verified hostname mapping

Before you proceed

Keep a stable internal tenant identifier so a changed public hostname does not become a different customer.

First: Define tenant identity.

Next: Design link and login behavior.

Confirm: Plan verified hostname mapping.

## Sources

- [Cloudflare for SaaS: custom hostname ownership](https://developers.cloudflare.com/cloudflare-for-platforms/cloudflare-for-saas/domain-support/hostname-validation/)

- [OAuth: redirect URI validation](https://www.rfc-editor.org/rfc/rfc9700.html#section-2.1)

- [Service identity and certificate hostname matching](https://www.rfc-editor.org/rfc/rfc9525.html#section-6.3)
