10-01-2010
Really, the only way to do this functionally is with virtualization of the host(s). Or running them on separate boxes.
Consider a request to the two different servers. Assume two different IP addresses on different subnets, different DNS domains, and different DNS servers providing those zones. Even consider the machine they're being hosted on being multi-homed, with two different paths to the IP addresses for each site.
If they're still running on the same apache process on the same box, you can tell.
Fire up your favorite stress tester and point it at one of the sites, and start hitting it hard - and the other one will likely slow down.
It's possible that if you ran one apache process on one port, and and entirely separate one on another port, and you tuned the heck out of them, this sort of evidence might be hard to discover. But really, eventually, someone would be able to tell.
Now, if you're asking how to just keep them separate functionally, different IPs and different DNS along with a decent apache virtual configuration will provide that. Of course, if you bring down one (i.e. apache is restarted or stopped) you will bring down the other one as well. So, if you need that sort of separation, look at virtualization, or run them on different hosts.
This User Gave Thanks to malcolmpdx For This Post:
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I Don't speak english very good...
i'm new to unix.
I have Win98SE and Apache for win32
Pentium MMX-166MHz
200MB Free
Apache/1.3.20 (Win32) PHP/4.0.6
My url is my ip and i want to get domain
exsample "www.cfir.co.il"
so i want to get UNIX.
i want to get standard UNIX server not... (4 Replies)
Discussion started by: cfir
4 Replies
2. UNIX for Dummies Questions & Answers
Hi,
Can someone help me for the Apache Web Server files for HP-UX 11.0 systems.
Is there any download available?
Thanks in Advance
Anent (9 Replies)
Discussion started by: anent
9 Replies
3. UNIX for Advanced & Expert Users
HI,
Where is the script for /server-status handler located? Can i change code of the script somehow?
Thank you all (3 Replies)
Discussion started by: solvman
3 Replies
4. UNIX for Dummies Questions & Answers
I have a question concerning the log file from an apache web server.
How can I :
a) roughly estimate the number of requests processed per
second by the web server.
b) tally the top ten hosts who send most of the requests to
the web server for the last 30 minutes.
Could any... (1 Reply)
Discussion started by: ppychu
1 Replies
5. UNIX for Dummies Questions & Answers
i need to move apache 2.2 from one server over to another server..... my servers are in atlanta and i'm logged in here in florida... what commands do i use ???? somebody mentioned the fetch command... please help.... i'm an idiot when it comes to unix (2 Replies)
Discussion started by: marinob007
2 Replies
6. UNIX for Advanced & Expert Users
Sir,
I have installed an Apache server in Fedora 9 (packages)
and when i go to etc folder and try the command
httpd -k start
it says command not found....can any one help me out!!!
---------- Post updated at 12:02 PM ---------- Previous update was at 11:46 AM ----------
When i... (4 Replies)
Discussion started by: bssandeshbs
4 Replies
7. Programming
I have a Perl script that worked fine before moving it to justhost.com. It was on a Windows/Apache server. Just host is using UNIX. Other Perl scripts on other sites that were also moved work fine so I know Perl is functioning.
The script is called cwrmail.pl and is located in my cgi-bin.
When I... (9 Replies)
Discussion started by: BigBobbyB
9 Replies
8. Red Hat
Got two RHEL servers - one real and one virtual/cloud.
Both run apache web server.
When traffic is applied, CPU seems to go quite high on virtual one (20%) but real is not really affected. Worry is that a further increase in traffic will see a problem.
Experience of RHEL is limited. Whats... (2 Replies)
Discussion started by: psychocandy
2 Replies
9. UNIX and Linux Applications
Hi All,
Hope this is the correct thread to ask this, if not, can an admin please move it to the correct thread.
Got a wee problem I hope someone can point me in the right direction.
I have Network A with two servers hosting separate webpages (I will call these WP1 & WP2). A DMZ server... (6 Replies)
Discussion started by: dakelly
6 Replies
LEARN ABOUT REDHAT
apacheconf
apacheconf(1) Apache configuration apacheconf(1)
NAME
apacheconf - Apache configuration utility
SYNTAX
apacheconf
DESCRIPTION
This is a new graphical tool to configure the common web server Apache in an easy and simple way. It supports the basic configuration
options and even allows to set up multiple virtual hosts.
OPTIONS
None
FILES
/usr/bin/apacheconf
/usr/share/apacheconf/*
/etc/alchemist/switchboard/apache.switchboard.adl
/etc/alchemist/namespace/apache/local.adl
/etc/alchemist/namespace/apache/rpm.adl
/var/cache/alchemist/apache/*
EXAMPLES
To run this program simply type:
apacheconf
SEE ALSO
httpd(8)
BUGS
Not all possible checks for correct values are done yet.
The current /etc/httpd/conf/httpd.conf file is NOT parsed, so changing the configuration with apacheconf will overwrite any manual changes
to the httpd.conf file or the changes done with apacheconf are discarded. In case of overwriting the manually editied file a backup file
will be generated.
AUTHORS
Jonathan Blandford <jrb@redhat.com>
Philipp Knirsch <pknirsch@redhat.com>
Philipp Knirsch 0.63 apacheconf(1)