Ask HN: A.foo.com vs. Foo.com/A
I feel like the former one has become much more popular recently. Why? AFAIK there is little practical difference, other than CORS being more of a problem with the former as well. Is it just aesthetics?
If you have different DNS names those functions can be on different servers using different technology. One could be in AWS, one in Azure, another on a mac in your office, another on a CDN, another could be some SAAS vendor operating under your brand.
Does it though ? I could always reverse proxy /B to another host, correct ?
The Cloudflare blog has a good explanation: https://blog.cloudflare.com/subdomains-vs-subdirectories-bes...