Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 11-20-2009, 11:43 AM   #1
Registered: Oct 2006
Posts: 45

Rep: Reputation: 15
Multiple installations of Apache, using the same host?

Has anyone here run multiple installations of Apache Web server on multiple ports, but using the same IP?

I need to install Apache 2.2 on a CentOS 4.2 box. It already has Apache 2.0 installed as part of CentOS default installation package. For some reason (mostly non-technical), I cannot touch the existing Apache, so my only choice is to install my own Apache.

I plan to use port other than 80, and access my website using my own specified port. However, I need to use the same hostname (same IP). My Apache will have its own prefix, and its own httpd.conf. Both my Apache and the existing one should run "side-by-side" --I'm not allowed to stop the existing Apache while my own is running.

It seems to be possible to do the things above. However, it is something I've never done before. Port and prefix aside, is there anything else I should keep my eyes on? Any advices and/or warnings?
Old 11-20-2009, 11:56 AM   #2
LQ Guru
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
It is certainly doable. Every Oracle instance installs its own copy of Apache and runs it on separate ports.

Since I don't typically set that up I can't give you much guidance on the how to especially since we're doing it Oracle's way but figured knowing it can be done is half the battle.
Old 11-20-2009, 02:13 PM   #3
Registered: Jan 2008
Posts: 105

Rep: Reputation: 28
Perhaps this is what you are looking for:>


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache - running multiple websites on one host xtra Linux - General 5 06-30-2010 05:51 AM
multiple virtual host configuration in apache nthillaiarasu Programming 2 02-20-2009 06:10 PM
Duplicate installations to other host aptsa Linux - General 1 04-05-2005 11:55 AM
multiple installations cicciopallo Linux - General 2 07-27-2004 05:13 AM
Multiple Linux Installations jkpalmer52 Linux - Newbie 1 01-23-2004 03:54 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:12 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration