How to create host headers for internal ip address in IIS 6.0

host-headersiis-6

In IIS 6.0 I need to create host headers to host multiple websites on our web servers. We are using network load balancing manager to have a clustered web farm of three servers.

Given that we use the internal IP address of the "group" of servers, how do I set up a host header for the internal IP address? Is the header composed of the internal IP address of each node machine or the IP address of the server "group"?

Best Answer

You will need to create records in your DNS for the new web site names, referring to the IP address that the web farm answers for.

The "Host Header" is the host and domain name entered in the "Address" bar of the browser. (Beware that both the fully-qualified and unqualified names need to be entered as host hedaers if the users will be using both.) Configure host header entries on each of the web servers in the farm for the new web site names, listening on whatever IP address the load balancing solution will send incoming requests to.

If DNS is directing clients to the farm IP address and all the farm web servers have the proper host headers entered things should work as you expect.