How to handle subdomains pointing to sub-applications

Discussion in 'ASP.NET 2.0' started by pennyfx, Mar 1, 2007.

  1. I purchased the subdomain package so that *.mysite.com goes to the root application.

    Currenly when in type in sub1.mysite.com I have it set up to redirect to the /sub1/ directory which is where the sub1 site application starts. So after the redirection happens, the URL in the browser is sub1.mysite.com/sub1/ kind of redundant isn't it.

    What I would like to happen is to only have sub1.mysite.com show up in the URL browser. How can this be done?

    Thanks
     
  2. Actually, search for thundermains URL rewrite. It might not handle it out of the box, but with some mods, you might be able to achieve your goal.


    Joel Thoms
    DiscountASP.NET
    http://www.DiscountASP.NET
     

Share This Page