title: subdomain on IIS
body: <p>My website will look something like online store, where every user has his online store as subdomain e.g. <code>user1.myprojectdomain.com</code></p>
  
  <p>we need help that how can Manage sub domains. Do we create a Virtual Directory/application for every user in the IIS on runtime or we can do some thing else</p>
  
  <p>I have created a website <code>xyz.com</code> in my iis and created an entry in windows <code>etc/localhost</code> as follows</p>
  
  <pre><code>xyz.com   127.0.0.1
  </code></pre>
  
  <p>and it is working fine. and then I did added <strong>another</strong> entry to route all sub domains as follows</p>
  
  <pre><code>*.xyz.com   127.0.0.1
  </code></pre>
  
  <p>Now I am trying to use abc.xyz.com or any other but it is not working</p>