title: Deploy Angular Universal to IIS
body: <p>I am having a problem deploying my Node.js to the IIS, in my <code>web.config</code>:</p>
  
  <pre><code>&gt; &lt;handlers&gt;
  &gt;         &lt;add name="iisnode-ng-universal" path="dist/server.js" verb="*" modules="iisnode" /&gt;
  &gt;     &lt;/handlers&gt;
  
   &lt;rule name="ng-universal" stopProcessing="true"&gt;
          &lt;match url=".*" /&gt;
          &lt;conditions logicalGrouping="MatchAll"&gt;
              &lt;add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /&gt;
              &lt;add input="{HTTP_HOST}" pattern="test" /&gt;
          &lt;/conditions&gt;
          &lt;action type="Rewrite" url="dist/server.js" /&gt;
      &lt;/rule&gt;
  </code></pre>
  
  <p>I am getting this error:</p>
  
  <p><a href="https://i.stack.imgur.com/V3mB9.png" rel="noreferrer">image</a></p>
  
  <p>This how my web files tree looks:</p>
  
  <p><a href="https://i.stack.imgur.com/5U76g.png" rel="noreferrer">web files</a></p>
  
  <p>I tried to give full permission to <code>IIS_IUSRS</code> and <code>IUSR</code> but it does not seem to work. Like this post suggested: 
  <a href="https://stackoverflow.com/questions/24028537/iisnode-encountered-an-error-when-processing-the-request">iisnode encountered an error when processing the request</a></p>