Multiple Web Sites from single machine/single Ip on local intranet

TechBoyJK

Lifer
Oct 17, 2002
16,699
60
91
Hello,

I have a cable connection, a gateway router, a switch hooked a port on the gateway router, and 5 machines hooked up either directly to the gateway router or behind the switch. I want to setup multiple web sites off of a single server with a single IP. (or multiple IPs if necessary)
__________________________________________________________________________________
Problem

I want this on my network >

Default Web Site = http://website1
Other Web Site = http://website2
Other Web Site = http://website3

#One machine is WinME (machine 1)
#One machine is Win2K Pro (machine 2)
#Two machines are Win98se (machine 3/4
#One machine is Win2kAdvanced (machine 5)

Lets set all machines other than the Win2kAdvanced machines = Client"X" where x is machine number (see above)

Lets set Win2kAdvanced machine = Server

Lets set the IP of the machines = 192.168.2.Y where Y=X
Lets set the IP of server = 192.168.2.6

# ex

Ok.

Gateway Router has DHCP and Cable company provides dual DNS servers.

Win2k Advanced server is setup for ftp, http,wins, iis, datasource(odbc), smtp, nntp, coldfusion mx, ms access, ms sql, and i think thats it, except for some other minor daemons.

Win2k Advanced server is not setup for DHCP, while my gateway router is setup for DHCP. From what I know, you cannot have more than one DHCP server on the network.

I have all of the computers up and running, and I am typing this message from the Win2K Advanced server.

I have Coldfusion server setup as well, and i have a simple forum setup for the default site, which can viewed at any pc in the network at http:\\server with server being the name of the Win2k Advanced server.

By the way workgroup = home and every computer is in the same workgroup. All machines are represented when I open My Network Places.

I want to have it so I can host several different web sites from the Win2K Advanced server, and I want to be able to give each one a seperate http://website address, where I can change "website"

I named the server "server" and I setup the default document for the default web site to say Hello World. ( I also have the ftp up and runnin no problems there) This is where I get lost. I went into IIS and setup another web site and called it Website2, set the default document to home.html (helloworld), and set the directory to C://inetpub/wwwroot/website2

Each web site was listed at the same IP address and the same port. Do I need to setup an IP for each site? Or can I do this virtually with servers already on Win2K Advanced server?

What else do I have to do? Please be straight up and use whatever technical terms you have to. I could really appreciate some guidance, as I bet I am just missing a few simple steps. I have read alot about this stuff, but I'm still trying to put it altogether.

Thanks!

 

spidey07

No Lifer
Aug 4, 2000
65,469
5
76
You can run hundreds of web sites off one IP address. Use what is called "host headers". I don't know IIS but I recall its fairly easy to do and is under the web site properties.