Windows – Website not working in IIS 7 using the IIS Manager

iiswebsitewindows

I have Microsoft Windows server 2008 R2 and have the IIS 7 running.

I have coded a web application on a seperate laptop and would like to publish it now on my server (serves as AD, DNS, File Server, IIS) that runs locally and has no external access. We will be using the application internally only.

I have followed the steps to install a website on IIS, however, it does not work.
Below are the steps I have done.

  • Created a folder hierarchy and pasted the code files there. (check below image. The code files are inside wwwroot)

[![enter image description here][1]][1]

  • Create a new website from the IIS Manager as the below image.

[![enter image description here][1]][1]

  • The wwwroot folder has SYSTEM permission and it inherits the permissions from the parent. (Does it need to have other permissions?!?)

    • Whenever I visit the website, I get an error that the page is not found.

update

Upon the answer below, I have tried his steps as the below image, but the username is not found and the error persists.

[error][2]

After other suggestions, still getting errors :/

error 1
error 2
Any ideas what is wrong?

Best Answer

First - make sure you have network access to the server - from your description it is not clear how you are trying to contact the server. The basic check is to try to browse the site through IIS Manager from the server itself.

Next - be sure that the application pool identity has permissions over the file system (on the folder with the website). Explanation - The application pool mySite.local is running under some identity (default is ApplicationPoolIdentity but you can assign there any user you would like). This identity has to have read/write (based on what you website is doing, but at least read) permissions to the folder where the website is located.

BR, JaSo

Related Topic