1
votes

I've done this a few times in IIS 6 but never on IIS 7 so I'm having a bit of trouble...

To create a website on IIS 7, do I create a website or an application?

Also, what goes on the bindings (host name, ip address)?

I want www.whatever.com to point to C:\inetpub\wwwroot\whatever

so far I got www.whatever.com to point to C:\inetpub\wwwroot, but I can't figure out how to make it point to C:\inetpub\wwwroot\whatever.

EDIT: ok, I managed to point the site to the right folder. now I get this error:

403 - Forbidden: Access is denied. You do not have permission to view this directory or page using the credentials that you supplied.

Thanks

2
not sure if it makes a difference but the server is on Amazon EC2 - user441365
I answered a question some time ago that might help you out: > HTTP Error 401.1 - Unauthorized from Local IIS - Kev
doesn't this question belong to serverfault? - Jaime Hablutzel

2 Answers

0
votes

I had the same issue. Wanted to run website on my local machine. I made sure Anonymous authentication is enabled. Also, I set Anonymous Authentication credentials to "Application pool identity". It solved my problem.

-1
votes

You need to allow the ASPNET internet guest account (or whatever anonymous access account you use) access to the folder. Edit the security permissions and make sure to replace all children permissions.