LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 11-20-2009, 11:43 AM   #1
Kreshna
Member
 
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
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,821
Blog Entries: 15

Rep: Reputation: 1664Reputation: 1664Reputation: 1664Reputation: 1664Reputation: 1664Reputation: 1664Reputation: 1664Reputation: 1664Reputation: 1664Reputation: 1664Reputation: 1664
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
valen_tino
Member
 
Registered: Jan 2008
Posts: 105

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

http://mail-archives.apache.org/mod_...ail.yahoo.com>
 
  


Reply


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:47 AM.

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