httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Van Horn <>
Subject Re: [users@httpd] Can I have 2 httpd servers running on 2 different ports?
Date Mon, 22 Feb 2010 20:22:54 GMT
Just give the servers different names. apache2 and 
apache2-different_port. Means you have to compile each server with that 
name and your server with the not 80 address will have a different 
Listen port in the httpd.conf file. Start the server with 
/usr/local/apache2-different_port/bin/apachectl start. The nice thing 
about doing this is that you can put different things in different 
servers - say a light server with not much added and then a server with 
php and mod-perl to do other things.


Aruna Gummalla wrote:
> Hi,
> Can I have 2 httpd servers running on 2 different ports? If so, what 
> is the configuration change that i need to do.
> I tried running apachectl start with different port numbers in 
> httpd.conf. But it says httpd already running.
> Please let me know. Thanks in advance.
> Thanks & Regards,
> Aruna.

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message