title: IIS 7 URL Rewrite or Reverse Proxy to Handle Firewall Security
body: <p>I am setting up different web applications on a Win 2008 R2 server. I am trying to accomplish the following:</p>
  
  <ol>
  <li><p><a href="http://myserver/" rel="nofollow">http://myserver/</a> should point to a local folder with static html pages</p></li>
  <li><p><a href="http://myserver/crm" rel="nofollow">http://myserver/crm</a> should "rewrite" to <a href="http://myserver:1234/" rel="nofollow">http://myserver:1234/</a> where I have installed a web based CRM application. </p></li>
  </ol>
  
  <p>We have a change process to open firewall ports so instead of getting them to open the 1234 port, I would rather have people just go via <a href="http://myserver/crm" rel="nofollow">http://myserver/crm</a> and IIS should hide the port business behind scenes.</p>
  
  <ol>
  <li>Do I need a reverse proxy in this case? Or a simple inbound rule? </li>
  <li>At which website should I configure this rule? </li>
  <li>Do I need to create a "CRM" virtual directory under default website?</li>
  <li>Also, any rule example would help.</li>
  <li>I hope this will accomplish the objective of not needing to open ports in firewall...?</li>
  </ol>
  
  <p>Thanks
  (Sorry if this is similar to another question, but I wasn't sure if I need a reverse proxy or a simple inbound rule.)</p>