简体   繁体   中英

Website not working in IIS 7 using the IIS Manager

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)

文件夹层次结构已创建

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

IIS管理器配置

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 @Ravi A's answer below, I have tried his steps as the below image, but the username is not found and the error persists. 用户名错误

Any ideas what is wrong?

windows iis website

You need to add a binding in your DNS ie ping mysite.local should resolve to the server IP, in your case since it's a intranet it should resolve to 192.168.1.253.

See here on how to do it. You need access to DNS Manager.

Also since you are not clear on DNS mapping leave the hostname empty and use machine name or IP to browse the site.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM