943,717 Members | Top Members by Rank

Jun 19th, 2009
0

View Default Web Site

Expand Post »
hi, does anyone can give an idea on how to view the default website that is installed on IIS 6.0? I can access to the FTP, but i'm an unable to view the default website on another pc? thanks for any input...
Similar Threads
Reputation Points: 19
Solved Threads: 115
Nearly a Posting Virtuoso
cguan_77 is offline Offline
1,317 posts
since Apr 2007
Jun 20th, 2009
0

Re: View Default Web Site

What is the error you are receiving? Check your windows firewall and ensure you have bound your default website to your external IP add the host header is a wilcard since you will be referencing it by IP address.
Featured Poster
Reputation Points: 1749
Solved Threads: 735
Senior Poster
sknake is offline Offline
3,948 posts
since Feb 2009
Jun 20th, 2009
0

Re: View Default Web Site

Click to Expand / Collapse  Quote originally posted by sknake ...
What is the error you are receiving? Check your windows firewall and ensure you have bound your default website to your external IP add the host header is a wilcard since you will be referencing it by IP address.
there is no error..but only a blank page is seen..

Quote ...
the host header is a wilcard since you will be referencing it by IP address
what you mean by the host header is a wildcard? in the tab for host header in this website should be a wild card or what? pls. pardon me if i sound ridicolous...

maybe i'm just missing some configuration... pls. help..thank you.
Last edited by cguan_77; Jun 20th, 2009 at 8:27 pm.
Reputation Points: 19
Solved Threads: 115
Nearly a Posting Virtuoso
cguan_77 is offline Offline
1,317 posts
since Apr 2007
Jun 22nd, 2009
0

Re: View Default Web Site

hi can anyone help.. http://localhost/ works fine if i run this on the win 2003 machine..test page is displayed..

but if i tried to access on another pc.. like http://mymachine_ip_ad nothing is shown.. iE just diplayed "cannot display the web page"...

can anyone help...please...
Reputation Points: 19
Solved Threads: 115
Nearly a Posting Virtuoso
cguan_77 is offline Offline
1,317 posts
since Apr 2007
Jun 23rd, 2009
0

Re: View Default Web Site

The default website is only bound to the local interface, I had to restart IIS to pick up the new IP if the machine was on a DHCP lease. If you go onto the server machine and do netstat -an what does it show for:
  Proto  Local Address          Foreign Address        State
  TCP    X.X.X.X:80            0.0.0.0:0              LISTENING

(The value we're looking for is X.X.X.X)
Moderator
Staff Writer
Reputation Points: 154
Solved Threads: 18
Linux Reject
blud is offline Offline
570 posts
since Apr 2004
Jun 24th, 2009
0

Re: View Default Web Site

the machine is using a static ip... i'll try what u said.. let you know.. thanks...
Reputation Points: 19
Solved Threads: 115
Nearly a Posting Virtuoso
cguan_77 is offline Offline
1,317 posts
since Apr 2007
Jul 7th, 2009
0

Re: View Default Web Site

hi just now able to find time for this issue hope you get back to me...

i tried netstat -an and the result is like this:

0.0.0.0:80 TCP 0.0.0.0:80 0.0.0.0:0 LISTENING so should i change it to my machine ip or what? thanks...
Reputation Points: 19
Solved Threads: 115
Nearly a Posting Virtuoso
cguan_77 is offline Offline
1,317 posts
since Apr 2007
Jul 28th, 2009
0

Re: View Default Web Site

The "default web site" is just that - a "default" web site who's content is displayed if a web site with more specific identifiers is not found. For example:

Web Site A = bound to 192.168.14.8, no host header
Web Site B = bound to 192.168.14.8, host header = siteb.domain.lan
Default Site = bound to "All unassigned IP Addresses", no host header

In DNS, there is an A record for "web.domain.lan" pointing to 192.168.14.8, and a CNAME of "siteb.domain.lan" pointing to "web.domain.lan".

If you point your browser to "http://web.domain.lan", you should see site A content, while "http"//siteb.domain.lan" should display site B's content. There's no way to see the default content in this configuration!

Shut down site B and browse to "http"//siteb.domain.lan" - you'll see Site A's content. This is because Site A is listening on the same IP, and there's no longer an active site with a host header to route the traffic to an alternate site. Since you're going to a specific IP, the web site bound to that IP will display. This is why you never mix sites with and without host headers on a single web IP!

Start up site B - it should display. Shut down site A and brows to Site B - you still see site B. Browse to Site A and you'll see the content from the default web site. This is because there's no site bound only to the IP, and Site B has both the IP and Host Header bound..

The purpose of the default web site is actually to display a generic "site unavailable" message, and possibly a menu to guide the user to a specific alternate site.

Production web sites should always be bound to an IP address when possible (allowing both HTTP and HTTPS traffic). If HTTPS traffic isn't needed, then multiple sites can be bound to a single address and routed to specific sites with host headers. Only the default site should listen on "All unassigned IPs", and it should never use host headers.

In good practice, you assign an IP address to the server hosting the web sites, and then you assign secondary IP addresses to the web server (the software!!) In our environment, where we host several different sites for our different divisions, we have an array of web servers and each has 17 IP addresses..
WebServer1 192.168.16.36 (server IP, for management)
WebServer1a01 192.168.18.16 IP for first web site group
WebServer1a02 192.168.18.17 IP for second web site group
WebServer1a03 192.168.18.18 IP for third web site group
WebServer1a04 192.168.18.19 IP for fourth web site group
(and so on...)
These are the A records in DNS. Since we use SSL, we assign unique IPs to each site. We do have a few informational sites that are all hosted on the last assigned IP address and defined with host headers.

The point of this configuration is that the CNAMES are easily translated into A record names - from internal tech support, the name "WebServer1a03" quickly identifies the host and instance that is having problems, compared to "www.bassfishing.com" which could be on any of 8 web servers in the array.

If you want more details about using sites, host headers, and web server configuration, look at the Best Practice whitepaper on my web site in the Resources section.

Glenn
Reputation Points: 10
Solved Threads: 7
Light Poster
gbarnas is offline Offline
35 posts
since May 2009
Jul 28th, 2009
0

Re: View Default Web Site

BTW - the 0.0.0.0:80 is correct, as this indicates that the server is listening on port 80 on any IP address that the system will accept.

Glenn
Reputation Points: 10
Solved Threads: 7
Light Poster
gbarnas is offline Offline
35 posts
since May 2009
Aug 8th, 2009
0

Re: View Default Web Site

thanks for all the input..
Reputation Points: 19
Solved Threads: 115
Nearly a Posting Virtuoso
cguan_77 is offline Offline
1,317 posts
since Apr 2007

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Windows Servers Forum Timeline: Can I run Access Runtime on Windows 2008 Terminal Server
Next Thread in Windows Servers Forum Timeline: IIS & PHP: Can we actually agree on what the issue is?





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC