Subdomain Url rewrite

Discussion in 'Site Programming, Development and Design' started by KirkK, Oct 13, 2010.

  1. I am not sure how to get what I am wanting to do or if it is possible. The first part I want to take a URL as http://beta.domain.com?PID=123&SID=1 and redirect it to http://beta.domain.com/beta/Default.aspx?PID=123&SID=1 but have it show as http://beta.domain.com/Default.aspx?PID=123&SID=1 at all times.

    The second thing I want to do is take all other subdomain that are not beta or www and redirect them to http://domain.com/Application/Default.aspx so for example http://subdomain.domain.com?SID=1 would go to http://domain.com/Application/Default.aspx?SID=1 but show as http://subdomain.domain.com/Default.aspx?SID=1

    As I am a newbie any help is appreciated.
     
  2. Ray

    Ray

  3. Thanks, that gave me enough information to get it done.:D
     

Share This Page