[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: running two webservers on the same machine



On Thu, Dec 16, 1999 at 01:50:06PM +1100, Marc-Adrian Napoli wrote:
> I work with Shao here and we've been asked to basically get zeus and apache
> running on the same machine, both on port 80 but both binded to different ip
> addresses...
> 
> (That way we could have the functionality of both).
> 
> 1. I'm not sure how to bind Zeus/Apache to certain IP's and

The webserver is told which IP to listen to.  Read the Apache docs, they
spell it out more or less.

> 2. I thought that a port was physical for a computer.. ie. port 80 on a
> machine is port 80 for all the IP's on that machine.
> 
> Our boss thinks differently... so we're not sure. :)

The Apache docs suggest running multiple servers on port 80, one for
each IP, if necessary.  So it can be done, but the servers must be told
to bind to a particular IP address, otherwise they will monitor for all
IPs.

Interesting!

(Apache docs on:

http://www.apache.org

or installed on your machine if you are lucky.)

-- 
William Burrow -- New Brunswick, Canada
How the Internet explodes myths...
- the GOOD TIMES email virus hoax, brought to life courtesy Microsoft
- MAKE MONEY FAST brought to reality on Wall Street by dot-coms and Linux


Reply to: