Linux Forums - Linux Help,Advice & support community:LinuxSolved.com

Network Troublshooting => Linux Servers Support => Topic started by: deven_01 on May 24, 2005, 05:28:47 AM

Title: configuring two webserver on one linux box
Post by: deven_01 on May 24, 2005, 05:28:47 AM
Hi friend
Recently
I was configured two web server on my one linux box
namely Apache webser from www.apache.org
and thttpd server from http://www.acme.com/software/thttpd/
the port defined for apache is 80 and for thttpd 81
I want to configure this two server in such way that both work simultaneously for client request, Is it possible?

If Its possible please send the solution or send any help regarding the configuration
Title: configuring two webserver on one linux box
Post by: taraj on May 27, 2005, 11:47:13 AM
I am not sure if it will work or not..  because there will be domain name conflict but ..
if you open <ip>:81 then it will open thttpd's website

if you open <ip>:80 then will open from apache.
Title: what ever you write it happens
Post by: deven_01 on May 28, 2005, 12:17:13 PM
hi dear
Ya it's pssoble to run two server on two different ports,with one ip address
I want to run one big project using both server support
 F.e.g If php file is run by apache server at the same moment images downloaed or uploaded by thttpd server,b'coz php not running from thttpd server '
Title: configuring two webserver on one linux box
Post by: Ricky on May 30, 2005, 02:43:07 PM
but deven why you want to do that from single machine ?
I think you want to do some load balancing stuff but that is useless from single machine.

And if you want that a page handles image download and php files are served from apache server then you can make php webpage and make images to be used from thttp server.