James Ronaldo
James Ronaldo

Reputation: 65

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)

Folder Hierarchy created

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

IIS Manager config

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.

error

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. error in username

Any ideas what is wrong?

windows iis website

Upvotes: 1

Views: 17988

Answers (1)

Ravi A.
Ravi A.

Reputation: 2213

You need to add a binding in your DNS i.e. 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.

Upvotes: 1

Related Questions