DEV Community

Discussion on: Do you prefer subdomains or subdirectories?

Collapse
 
mohammad__amin profile image
MohammadAmin Hakim

I prefer the subdomains. it's easiest to remember for users and you can host your blog or service on another server and point it to this subdomain.

Collapse
 
sqlrob profile image
Robert Myers

The "host on another server" is independent of subdomains versus subdirectories. A reverse proxy will cover that for you.

Collapse
 
yoursunny profile image
Junxiao Shi

Reverse proxy won't work well if two servers are far from each other.