Link to home
Start Free TrialLog in
Avatar of zerospaz
zerospaz

asked on

IIS host header not working

OK, I am running windows 2003 small business server. Basically we have a few internal sites up and running, pretty much the ones that windows comes with, default & companyweb. So I have been trying to create a new one in IIS. Everytime I create it and try to go to the page it always comes back page can not be displayed. Basically I start IIS manager, under websites I right click, click on new, then website. Here is everything I entered in the wizard. Description: IT Database, IP Address: 192.168.1.2 (IP of the server), TCP port:80, Hostheader: itlife, Path: C:\Inetpub\itdb, allow anonymouse access to this website, Read and write scripts. Application pool: itlife, enable default content page: index.htm etc etc etc, enable anonymouse access, integrated windows authentication. I create an index.htm file, place it in the correct directory and open the following page http://itlife/  and it get the error the page cannot be displayed, I have also tried right clicking on the index.htm file within IIS manager underneath IT Database and click browse and receive the same error message. This is driving me nuts. Now, I have done this in XP pro, of course XP pro only supports one site, so I edited the default site, basically changing the host header, changing the directory, and editing C:/windows/system32/drivers/etc/hosts  to include 127.0.0.1 itlife. I didn't edit the host file in the 2003 small business server because it didn't seem necessary as, all of the other internal sites were not listed in this file.  So I have no idea exactly what I am missing here?
We also have sharepoint installed. i have tried to create a top level website using the virtual server (lol that doesn't work) It Databse, but of course the page still does not load. Any suggestions would be greatly appreciated. Thank you
Also is there anything I may have to do differently so that all of our users on the network can aswell use this site?
Avatar of KerryG
KerryG

You need to have a DNS entry for itlife so that the workstations know that 192.168.1.2 = itlife. This can be done in the DNS manager, WINS Manager, or in the hosts file of each machine.
Avatar of zerospaz

ASKER

Sorry, I am still a little lost, I searched the DNS manager and the WINS manager and could not find an example listing of the "companyweb" or "localhost". Is there anywhere in particular I should be looking on the server to find this information, because there are far too many PCs to make such a change to each individual PC. Thanks
ASKER CERTIFIED SOLUTION
Avatar of KerryG
KerryG

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
THanks a lot everyone, I do not have acess to that computer today, but I shall try it first thing tomorrow, again thank you
Awesome, one quick question thought, how do I view all of the entires handled by the Servers DNS->Forware Lookup Zone???
Typically, when you cascade the Forward Lookup Zone and then just "click" on your local domain, you'll see all of the DNS entries for your domain in the right-hand pane.  Those are dynamically added by Active Directory, but you can also manually add DNS entries as per the previous comment.