ASP.NET MVC area issue on IIS 10

Mahdi Khardani 0 Reputation points
2024-05-06T10:06:31.3666667+00:00

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
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,510 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
13,236 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.