Solved

IIS 6 Create a Website based on IP and Port - Error Internet Explorer cannot display the webpage

Posted on 2011-09-22
5
555 Views
Last Modified: 2012-08-14
Hi All,

I have configured a website in IIS 6 so that I just only need to reference the IP address and port as per my previous question at

http://www.experts-exchange.com/Software/Server_Software/Web_Servers/Q_27307076.html 

I ran the command netstat to make sure to choose a port that isn't currently being used - port 88 in my case.

When I go to the IP address and port like so - http://172.0.0.1:88 I just get the error 'Internet Explorer cannot display the webpage'  - ignore the IP here as it is for example purposes and understand its and internal one.

Can anyone suggest what I could be doing wrong?

Thanks,

Rit
0
Comment
Question by:rito1
  • 3
  • 2
5 Comments
 
LVL 10

Expert Comment

by:gaurav05
ID: 36580088
Hi,

I attached the screen shot.

you need to assign ip address and port no in that red box.


let us know.
ScreenShot001.bmp
0
 
LVL 1

Author Comment

by:rito1
ID: 36581196
My appologies, its IIS 7. (doh!)

The IP address and port 88 are showing in these fields correctly. though they are located in a different place - Site Bindings section rather than Properties - Web site :-) Still get the error.
0
 
LVL 10

Accepted Solution

by:
gaurav05 earned 500 total points
ID: 36585144
Hi,

check whether the site is started, and what end-points its
configured to run on, by running the following from command line:

> %windir%\system32\inetsrv\AppCmd.exe list sites

At this point, you may get a configuration error indicating malformed configuration in the sites section –
 in that case, you need to fix this to proceed.  Once the error has been fixed, the resulting output should include your site as follows:

SITE "Default Web Site" (id:1,bindings:http/*:80:,state:Started)

If you site is not listed, well, then you know the problem.
If the site definition does not contain the proper binding
(in the form of protocol/[ip-address-list-or-*]:port:[host-header-list-or-blank]),
then you need to add the missing binding.


Start the event viewer (Start>Run>eventvwr.exe), and look for an error in the “System”
event log under “Windows Logs”, with “WAS” as the event source.  You may see something
like this:

Event 5161:
Site 1 has no root application defined, so the site will be ignored.

This should most of the time hold the key to what you need to do to make sure the site is valid.  
The following may cause your site to not be valid:
The site does not contain a root application (with path = “/”)
The site does not contain a single valid binding
A binding is invalid or conflicts with another binding on the machine
Once you’ve made the required configuration changes, you can start the site like this:

> %windir%\system32\inetsrv\AppCmd.exe start site "Default Web Site"

Where "Default Web Site" is replaced with the name of your site.


if everything above is  ok then

Try switching the AppPool to Classic .NET mode rather than integrated mode.

You can do this on the Application Pool's Basic Settings in IIS Manager
0
 
LVL 1

Author Comment

by:rito1
ID: 36585411
Hi gaurav05,

it turns out that all ports are being blocked by the firewall other than the ones being used.

Thanks for you expertise.

Rit
0
 
LVL 1

Author Closing Comment

by:rito1
ID: 36585412
Excellent info.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
website went down 6 64
http to https 3 70
Windows IIS SMTP Server Unable to relay emails 12 62
web & database SERVERS -- PHYSICAL & VM ? 5 72
One of the typical problems I have experienced is when you have to move a web server from one hosting site to another. You normally prepare all on the new host, transfer the site, change DNS and cross your fingers hoping all will be ok on new server…
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question