Do you use subdomains instead of virtual directories?

Updated by Brady Stroud [SSW] 1 year ago. See history

123
<introEmbed body={<> 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

Acknowledgements

Adam Cogan
Related rules

Need help?

SSW Consulting has over 30 years of experience developing awesome software solutions.

We open source.Loving SSW Rules? Star us on GitHub. Star