title: How to rewrite URL as subdomain in asp.net without actually creating a subdomain on server
body: <p>I hope this isn't the first time i'm asking this question on SO.</p>
  
  <p>I've URLs in my website and which are using <code>query string</code> values
  For example: <strong><a href="http://foo.com/xyzPage.aspx?barvalue=yehaa" rel="noreferrer">http://foo.com/xyzPage.aspx?barvalue=yehaa</a></strong></p>
  
  <p>to</p>
  
  <p><strong><a href="http://yehaa.foo.com/" rel="noreferrer">http://yehaa.foo.com/</a></strong></p>
  
  <p>Please suggest how it can be accomplished <strong><em>without actually creating subdomains on server</em></strong> ..</p>
  
  <p>I've <strong><em>IIS 7.5</em></strong> installed on server machine and using <strong><em>Asp.net 4.0</em></strong>. </p>
  
  <p>Many thanks</p>