Solved

IIS host header not working

Posted on 2004-08-26
11
3,070 Views
Last Modified: 2012-06-27
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?
0
Comment
Question by:zerospaz
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2
  • +1
11 Comments
 
LVL 8

Expert Comment

by:KerryG
ID: 11905481
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.
0
 

Author Comment

by:zerospaz
ID: 11912430
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
0
 
LVL 8

Accepted Solution

by:
KerryG earned 168 total points
ID: 11912595
Here are some links for DNS info:

http://www.simongibson.com/intranet/dns2003/
http://www.mcmcse.com/win2k/guides/dns2000.shtml

However, if you want to use a netbios-like name (like itlife) then it is probably simpler to use WINS for that. You can create an entry for itlife with the appropriate ip address. Then as long as your workstations are receiving the WINS address in DHCP (check the DHCP scope if they dont) then they will resolve the name properly.

0
How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

 
LVL 7

Assisted Solution

by:rhrowson
rhrowson earned 166 total points
ID: 11919569
If you are on a W2K doamin or above, you should ahve a local DNS server (that i sprobably your first DC). Enter the record here. It can be in the form of a netbios name, because if everything else is working correctly, a doamin suffix will be appended if necessary.

Where I work all our sites are published using DNS on the netbios name - so I know it works
0
 
LVL 6

Assisted Solution

by:chumplet
chumplet earned 166 total points
ID: 11955743
Here's a quick test... can you ping "itlife" from a DOS prompt and return the address 192.168.1.2?  If not, then you'll need to open up DNS on your Small Business Server (within Administrative Tools), cascade the Forward Lookup Zone, right-click on your domain name, and choose to add a New Host (A).  Type in the name ("itlife", without the quotes) and the IP address.  You should then be able to ping "itlife" from a command prompt and return the proper address.  If so, then try your browser again and see if the website returns your site!

 
0
 

Author Comment

by:zerospaz
ID: 11955802
THanks a lot everyone, I do not have acess to that computer today, but I shall try it first thing tomorrow, again thank you
0
 

Author Comment

by:zerospaz
ID: 11967112
Awesome, one quick question thought, how do I view all of the entires handled by the Servers DNS->Forware Lookup Zone???
0
 
LVL 6

Expert Comment

by:chumplet
ID: 11967286
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.
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Suggested Solutions

What is an ISAPI filter?   •      It's an assembly (.dll file) that can add or change the way IIS works.   •      They can be enabled globally for your web server or on a site-by-site basis.   When the IIS server receives a request, enabling the ISAPI fi…
Running classic asp applications under Windows Server 2008 R2 (x64) and IIS 7 is not as easy as one may think. It took me a while to figure it out while getting error 8002801d a few times. After you install the OS you will need to install the fol…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

738 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