[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: Web Server Compatibility



I have successfully run multiple web-servers on my linux box at the same time.
It works!

It's possible to run  mutiple web-servers on a single machine provided they all
use different tcp ports. The well known/reserved port for http is 80. You may
run Apache on port 80 (this happens by default) and any other web-server at any
other port (preferably greater that 1024 so that it doesn't clash with the ports
used by the system). Have it greater than 8000 to be on the safer side.

If ur machine name is server.mydomain.com,
To access the apache web-server type: http://server.mydomain.com/ (By default it
connects to port 80)
To access the other web-server type : http://server.mydomain.com:<port number>
    For example if the port number is 8000, http://server.mydomain.com:8000

The down side of this is you'll be loading ur server. Hope this helps.

-Sridhar

Shurajit Gopalakrishnan wrote:

> Hello friends !
>
> Will Apache Web Server and Java Web Server run simultaneously on the same
> Server that runs on Linux?  Or will there be a conflict?  Please let me know
> what I should do in a situation where I am required to run both - Apache and
> Java - Web Servers.


------------------------------