Why IIS web site not working when adding Site name

Nikama Adeel 1 Reputation point
2021-11-15T08:42:33.473+00:00

I created an Asp.net website with the 4.5 framework, it works fine in Visual studio with sitename (http://localhost:8080/Mywebsite/Default.aspx) but it is not at the IIS level after deployment. This is how it is deployed:

Deployment picture

When we try to consult the application with the URL http://localhost:8080/Mywebsite/Default.aspx, we receive an error message.

An satisfiedshoes error has occurred in the error page: http://localhost:8080/Mywebsite/Default.aspx: The file 'Mywebsite/Default.aspx' does not exist.

Thank you for your help

Internet Information Services
{count} votes