title: Alternative to Response.Redirect to effect a subdomain
body: <p>I have a site that is hosted in shared hosting environment. They use a wildcard subdomain setup and suggest using Response.Redirect to achieve the illusion of a subdomain.</p>
  
  <p>Is there a way of doing this such that the "switch" takes place on the server rather than bouncing back down to the browser first?</p>
  
  <p>Server.Transfer only works if I transfer to an actual resource. So redirecting from sub1.mydomain.com to www.mydomain.com/public/ does not work. I'd have to redirect to www.mydomain.com/public/mypage.aspx instead which i dont want to do.</p>