Hi guys, I am trying to develop with IIS 7 on my PC. I try to add a new site using administrator access and when I enter the local hostname it says it is working but its not. The only host working is localhost. Does anyone know what is going on? Am I only allowed to use virtual directories? I need to be able to apply url rewrite rules.
You are not limited to one site. How exactly was it not working? If the problem was permissions then adding “IUSR” or “IIS_IUSRS” to the folders NTFS permissions (Read, Execute) would have been enough. I suppose an explanation is in order. Been a while since I used WAMP, however, from what I remember WAMP would run Apache using a super user account which by default doesn’t have much file/folder restrictions. In the case of IIS 7 it doesn’t run from a super user account “IUSR” by default. Of course there are no permissions set of “IUSR” and you must set those. Now you could use a different user account when setting up a site. I myself do this to keep sites from interfering with another. This is all done for security, under no circumstances should the web server have access to system/private locations. IIS default “IUSR” stance keeps that from happening.
Switching to WAMP, IIS 7 is not a good web server to use for local development unless you have an actual Windows Server, the permissions are too much of a headache.