Re: Can I have 2 httpd servers running on 2 different ports?

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

 



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.

bob

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:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux