title: ASP.NET WebForms project sub-domains routing?
body: <p>I have ASP.NET project(WebForms not MVC) to manage companies Project,Logs,ToDos, etc......</p>
  
  <p>I want to allow user to access the site with url start with their company name. for example:</p>
  
  <p>my site is <code>www.mysite.com</code></p>
  
  <p>i want to allow users to access my site like this</p>
  
  <p><code>www.company1.mysite.com</code> or <code>www.company2.mysite.com</code> or <code>www.companyX.mysite.com</code></p>
  
  <p>and then inside my code i could get the <code>comanyX</code> part.</p>
  
  <p>can you give me any clues how to do this pragmatically or what steps i should do on my server or inside my code</p>
  
  <p>not i'm using ASP.NET WebForms not MVC.</p>