LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-02-2011, 08:25 PM   #1
lnx_2011
LQ Newbie
 
Registered: Apr 2011
Posts: 1

Rep: Reputation: 0
Multiple instances of apache on one physical server - Config


Hi,
I have to run multiple instances of apache on the same physical machine, as we have different OAM policies for different domains.

My question is in the httpd.conf file can I have ServerName same in two instances of apache, like
ServerName: prod_machine (actual machine name)

In the vhconf files I do have different servernames for virtual hosts.

Apache instances are running on same IP but different ports.

I am including various vhost files in the main httpd.conf file.

Can I skip servername in the main httpd.conf file and include different servernames in the virutal hosts configs.

OS: Solaris10
Appreciate if someone can guide me in the right direction.


Thanks,
lnx_2011
 
Old 04-03-2011, 02:54 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Hi and welcome to LQ

Quote:
Can I skip servername in the main httpd.conf file and include different servernames in the virutal hosts configs.
Sure you can.

Cheers
 
  


Reply



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
LXer: Running Multiple MySQL Server Instances in Parallel on a Linux Server LXer Syndicated Linux News 0 10-11-2010 12:00 PM
Multiple Apache Instances piforever Red Hat 4 10-05-2008 08:18 AM
Starting multiple instances of X server armandino Linux - General 2 07-04-2007 02:41 AM
Samba, multiple server instances crispyleif Linux - Software 2 04-03-2006 10:28 AM
Multiple Apache instances on Debian solferino Debian 2 08-23-2005 08:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:48 PM.

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
Open Source Consulting | Domain Registration