DEV Community

Discussion on: Do you use subdomains?

Collapse
 
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.

Collapse
 
madza profile image
Madza

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