bob wrote: > 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. Compiling individually is not necessary. We run dozens of servers off one compile. Instead, just have a different directory for each instance. For instance /usr/local/apache -- where you install your software /opt/server1 -- first server bin, build, error, icons, include, lib, man, manual, modules, mime-types, magic are links to equivalent in /usr/local/apache cgi-bin, conf, htdocs, logs are directories; conf should be a copy of /usr/local/apache/conf /opt/server2 -- set up the same way Edit /opt/servername/conf/httpd.conf and replace all occurrences of /usr/local/apache with /opt/servername/apache Then when you start up use -d /opt/servername/apache -f /opt/servername/apache/conf in addition to any other flags you'd pass apachectl. Sheryl > 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 > > --------------------------------------------------------------------- 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