4 ms·
Ask HN: Alternatives to app.domain.com
Hosting a marketing site on a different platform to an app forces the use of sub-domains to direct the user to the right place.
(domain.com/dashboard is replace by app.domain.com/dashboard, for example)
We're not limited to using `app` for the sub-domain
A single function app could use things like:
email.domain.com /Email provider
trade.domain.com /Stock trading
wallet.domain.com /Coin wallet
Have you seen any creative or fun names given to the sub-domain?
- troydavis 8y agoMake www and the apex domain resolve to the app, not the marketing site. For non-logged-in users (or if you want to, everyone), the app proxies / to the marketing site. For all requests, it proxies the handful of other path prefixes you use (beginning with /about, /tour, /contact, etc.). The user only ever sees one hostname.