Do you use subdomains instead of virtual directories?
Rules to Better Architecture and Code Review|3e1c8438-7324-4685-bf68-82108e963af8
v3.0
Posted at
31/07/2019 2:37 AM by
Tiago Araujo
Rule Intro
Using subdomains over directories has 2 benefits:
Page Content
- it is easier to host different sections of your website on different platforms, and
- in different geographic locations
http://www.myservice.com/ssw/
http://www.myservice.com/northwind/
Figure: Bad Example - Virtual directories used to distinguish organizations
http://ssw.myservice.com/
http://northwind.myservice.com/
Figure: Good Example - Subdomains used to distinguish organizations
{768DDD4E-85D9-4433-ACA8-F164381D515B}
Do you feel this rule needs an update?