ASP.NET MVC area issue on IIS 10

Mahdi Khardani 0 Reputation points

I have an existing ASP.NET MVC application (on .NET 4.8), and I have recently added an area to the application (area is registered and the route is mapped).

When I deployed the app to IIS, it works as expected on the local server (server-localhost:port), but when I try to access the area via the domain name, I get redirected to the default app page and there seems no way to access the newly added area.

During my research, I came across URL Rewriting rules; I tried everything I found but no use.

Website uses HTTP, not HTTPS

Server: Windows Server 2022

IIS version: 10

Internet Information Services
A set of technologies in the .NET Framework for building web applications and XML web services.
3,317 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,287 questions
{count} votes