title: create subdomain dynamically. (Apache tomcat 5.5)
body: <p>i would like to create sub domain for my website dynamically. Is it possible to do so with JSP. For example i would like to create a sub domain for each user registration.</p>
  
  <p>like wise, if <code>www.mywebsite.com</code> is my website, when a user is registered i need to access his profile by <code>www.userName.mywebsite.com</code>. I have posted it already <a href="https://stackoverflow.com/questions/10351085/create-a-sub-website-of-the-parent-website-for-each-usersub-domain-or-subfolder">here</a> i think my question was not clear. I am using JSP, and Apache tomcat 5.5</p>