403 Forbidden when deploying an asp.net 4.0 MVC 3 site for IIS 7

So, I have an instance of EC2, the URL of NoWeatherSurprises.com I have a DNS pointing there, and I created a new site in IIS 7 and pointed it to a folder. I used Visual Studios Web Developer 2010 express to publish to this folder. Now it has binaries, etc.

However, if I go to NoWeatherSurprises.com, I get a greeting on the IIS 7 screen. I expect to go to my application. If I go to http://noweathersurprises.com/weather/ [the weather was a folder that I published under wwwroot] I I get a ban on 403. I have no idea why, I assume it is trying to make a directory listing or something instead of starting my MVC application.

So, 2 problems in the resume.

  • It does not specify the domain in the folder directly, and I need to add / weather
  • I get a forbidden 403 instead of the results of my home controller with index action.

I am new to IIS 7, I used IIS 6 and had a lot less setup issues, but I suspect my own error and I just missed something. Thanks in advance for any help

+3
source share
1 answer

How did you set your physical path to your site?

On the right side, IIS Manager has “Basic Settings”, where you can see where to specify it.

, , , 4.0. IIS " ", , 4.0 (Integrated)

0

All Articles