Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In our windows hosting we use the root (wwwroot) folder to host a JOOMLA website as public website. This is running IIS 7.

Then, we created a virtual directory called "App" to host there a ASP.NET MVC4 application.

When I enter it shows the joomla website correctly. When I enter it somehow access my MVC app... as I see the URL changing to BUT shows a 404 Joomla error as if it were looking that URL in Joomla.

BTW, the hosting has 2 ASP.NET IIS Setup options: 4.0 Classic and 4.0 integrated. Using the Integrated one... it displays a blank page... using the classic one shows the 404 Joomla page.

Any idea where to look for this?

share|improve this question

I managed to fix the problem.

The Virtual Directory's web.config was inheriting the Joomla's web.config rules. So, I wrapped all the setting in Joomla's web.config in:

<location path="." inheritInChildApplications="false">

And this way my ASP.NET MVC application just uses its web.config "uncontaminated".

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.