Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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

The error I get is:

The virtual path 'null' maps to another application, which is not allowed.

I created an MVC 3 project and posted it as-is. Turn off the "URL Rewrite" and everything works fine. Turn it back on and you get the error.

Any ideas?

share|improve this question
On the same server? – TristanK Mar 17 '11 at 3:56
I have two servers, one being a controller and a Primary, and the other being a Secondary. So, it will be the same server 1/2 the time. Scott Guthrie said you should be able to do this "DemoController doesn’t technically need to be a separate machine – but makes it easier to understand the various roles in the walkthrough."…. – Dr. Zim Mar 17 '11 at 14:14
up vote 1 down vote accepted

The key to making this work is have MVC on port 80 and have the inbound websites on a different port, so the Controller can rewrite them to port 80. I sent port 80 web traffic on my Cisco to get to the web farm on port 591, then had the controller rewrite it to port 80 on the web farm. Why? This allows you to have a web server on the Controller as well. Ultimately probably a bad idea. LOL.

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.