Do you use subdomains instead of virtual directories?

Last updated by Tiago Araújo [SSW] almost 3 years ago.See history

Using subdomains over directories has 2 main benefits:

  1. it is easier to host different sections of your website on different platforms, and
  2. in different geographic locations
  • myservice.com/ssw/
  • myservice.com/northwind /

Figure: Bad Example - Virtual directories used to distinguish organizations

  • ssw.myservice.com/
  • northwind.myservice.com/

Figure: Good Example - Subdomains used to distinguish organizations

We open source. Powered by GitHub