'ASP.NET core 6 app hosted on New web server with IIS

On a new webserver we have installed the ASP.NET Core Runtime 6.0.3 hosting bundle.

I am trying to make an .net core 6 app to run on this server.

No matter what I do, I cant get it to work.

Webserver: Windows Server 2019 Installed on web server: https://dotnet.microsoft.com/en-us/download/dotnet/thank-you/runtime-aspnetcore-6.0.3-windows-hosting-bundle-installer

App: VS 2022. Asp.net Core 6

I believe that I need to choose the correct publish setup, but I have tried them all, as far as I can see.

Is there anything else I am missing, perhaps on the server?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source