title: IIS URL Rewrite for redirect to FQDN
body: <p>I am trying to figure out the best URL rewrite rule to accomplish the following.</p>
  
  <pre><code>http://intranet/sites/default.aspx rewrite to http://intranet.domain.com/sites/default.aspx
  
  http://intranet rewrite to http://intranet.domain.com
  </code></pre>
  
  <p>Also in IIS the URL binding is set to "intranet" for that web application</p>
  
  <p>Hope that makes sense. Can someone please help with the rewrite rule?</p>