DEV Community


Discussion on: Do you use subdomains?

andreidascalu profile image
Andrei Dascalu

There is one reason I prefer sub domains: you don’t need special configuration for routing.
You serve from root path and the subdomain is the job of the front-end webserver. Internal routing starts from /, no messing with prefixes.

madza profile image
Madza Author

Thanks for the insight πŸ‘πŸ˜‰