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 DEBIAN
starting
starting(7) Miscellaneous Information Manual starting(7)
NAME
starting - event signalling that a job is starting
SYNOPSIS
starting JOB=JOB INSTANCE=INSTANCE [ENV]...
DESCRIPTION
The starting event is generated by the Upstart init(8) daemon when a new instance of a job begins starting. The JOB environment variable
contains the job name, and the INSTANCE environment variable contains the instance name which will be empty for single-instance jobs.
init(8) will wait for all services started by this event to be running, all tasks started by this event to have finished and all jobs
stopped by this event to be stopped before allowing the job to continue starting.
This allows jobs to effectively insert themselves as dependencies of other jobs. The event is typically combined with the stopped(7) event
by services.
Job configuration files may use the export stanza to export environment variables from their own environment into the starting event. See
init(5) for more details.
EXAMPLE
A service that wishes to be running whenever another service would be running, started before and stopped after it, might use:
start on starting apache
stop on stopped apache
A task that must be run before another task or service is started might use:
start on starting postgresql
SEE ALSO
started(7) stopping(7) stopped(7) init(5)
Upstart 2009-07-09 starting(7)