November 24, 2024, 10:30:40 PM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: configuring two webserver on one linux box  (Read 4811 times)

Offline deven_01

  • Linux Learner
  • ***
  • Posts: 143
configuring two webserver on one linux box
« 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

taraj

  • Guest
configuring two webserver on one linux box
« Reply #1 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.

Offline deven_01

  • Linux Learner
  • ***
  • Posts: 143
what ever you write it happens
« Reply #2 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 '

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
configuring two webserver on one linux box
« Reply #3 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.