When building a website or application there are a variety of reasons you might want a subdomain ranging from SEO to full separation of application responsibilities. Craigslist uses subdomains to separate it's different regions within states. Other websites use a subdomain to differentiate their blog from their main marketing content. In my case, i've developed several web applications that have had siloed account logins (commonly referred to as Multitenancy). The way I approached that requir...