Create subdomain for each registered user?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/278668/is-it-possible-to-make-an-asp-net-mvc-route-based-on-a-subdomain">Is it possible to make an ASP.NET MVC route based on a subdomain?</a><br>
  <a href="http://stackoverflow.com/questions/1437277/how-to-create-subdomain-with-username-using-c-sharp-and-asp-net">How to create subdomain with username using C# and asp.net?</a>  </p>
</blockquote>



<p>How can I create a sub-domain for each user who is registering in my application?</p>

<p>For eg. my application is hosted at <code>www.xyz.com</code>
If a user with name "bsoft" registers in my app, I need to create a url for the user as <code>bsoft.xyz.com</code>.</p>
