Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Hi all,
Can anyone out there tell me how to put two web sites on one NT 4.0 server. I currently have one in our company but need to add another company's site. Do l need to also do something with ip's? Any help would be much appreciated.Jeff

I assume you are using IIS?
You need to add another IP address to the TCP/IP stack in Network properties, Protocols, TCP/IP, Advanced (off the top of my head).
Then in IIS find the Add new Site option (it varies in location from version to version) you should now be able to use the new IP address you added to the stack.
Note: I seem to recall the server needing to be re-started, not sure but do it after hours or with a worning to users just incase, anmd maybe it would pay to add a few more addresses for future use at the same time.

IIS 4.0 not only provides support for hosting multiple Web sites on a single computer running Windows
NT Server, but also for hosting them on a single IP address.
IIS provides this capability through the use of a host header that is supported by most newer browsers
(Internet Explorer 4.0 and Netscape 4.0, for example) and some older ones. Host headers are
supported by HTTP 1.1.
Web sites have a descriptive name and can support one or more host header names. Host header
names make the hosting of multiple domain names on one Web site possible.
The browser sends the host header (which includes the name of the Web site it is trying to access) to
the server. The client must also be able to resolve the host name to an IP address using DNS or a
HOSTS file.
Not all browsers support the use of host header names.
If a visitor attempts to contact your site with an older browser that does not support host headers, the
visitor gets the default Web site assigned to the address (if a default site is enabled), which may not
necessarily be the site requested.
Custom HTTP headers are used to send messages such as cache pages from the server to the browser.
You can configure two virtual servers on a computer using the same or different IP addresses. The two
virtual servers may use the same Web content or different Web content.(Reference: Microsoft Internet Information Server 4.0 Training, Hands-On, Self-Paced Training for
Supporting Version 4.0, "Configuring the WWW Service", page 87)

Thanks guys.....will look into it further. I think l am running IIS 2 or 3. I will check on this first thing tomorrow.
Again, much appreciated.

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |