title: Deploying ASPNet core on IIS not working at all
body: <p>I have published an ASP.NET Core application on IIS that won't work. </p>
  
  <p>I followed these steps/tutorial: <a href="https://stackify.com/how-to-deploy-asp-net-core-to-iis/" rel="nofollow noreferrer">https://stackify.com/how-to-deploy-asp-net-core-to-iis/</a> and <a href="https://stackoverflow.com/a/646386/11498427">https://stackoverflow.com/a/646386/11498427</a></p>
  
  <p>So this is my web.config:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;configuration&gt;
    &lt;system.webServer&gt;
      &lt;handlers&gt;
        &lt;add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModule" resourceType="Unspecified"/&gt;
      &lt;/handlers&gt;
      &lt;aspNetCore processPath="%LAUNCHER_PATH%" arguments="%LAUNCHER_ARGS%" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" forwardWindowsAuthToken="false"/&gt;
    &lt;/system.webServer&gt;
  &lt;/configuration&gt;
  </code></pre>
  
  <p>Published the ASP.NET Core application with the file folder publish. Then unzipped it and put the whole folder inside: "C:\inetpub\wwwroot\"
  Set the appropriate folder's with the full control permissions.
  Set the appropriate authentication within IIS manager
  Set the appropriate settings for the application pool.
  .NET Core Server bundle correctly installed (latest, see screenshot)
  <a href="https://i.stack.imgur.com/TSuaQ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/TSuaQ.png" alt=".NET Core server versions"></a></p>
  
  <p>'localhost' working fine. But whenever I try to reach my application it gives me a 404. Anyone knows what could be the problem? Thanks in advance. </p>