title: How to Create Dynamic Sub-domain with ASP.NET?
body: <p>How can I create a subdomain in an asp.net C# application? I am working with an asp.net portal.</p>
  
  <p>I have my site which redirects all *.domain.com calls to domain.com. What I want to acheive is that first when the user enters a dynamic subdomain name he should be directed to its home page like if user writes www.microsite1.domain.com, then the site should point to page ~/Microsite/Home.aspx?value=microsite1, and when the user accesses www.microsite1.domain.com/about.aspx then i should able to get the argument value1=about. </p>