2 Apache Boxes That Back Each Other Up

Feb 28, 2008

I have a managed box with rackspace (green) On this I am running a couple of distance learning sites e.g howtofish.com (moodle on apache) and video streaming (lighttpd). This is all working fine.

I'm now looking at moving our "normal" website (drupal on apache) to a managed server with rackspace. (call this blue)

The 2 different parts will be running on 2 different machines, but I'd like to be able to move sites/applications between them if needs be due to load/work/failure

For example if the normal website server goes down, temporarily move that on to the distance learning/media server or vice versa.
Or if after a while we get more traffic on the distance learning server than the website, move the media server over to the normal website server.

Hope that makes sense - I'm not looking at a proper cluster here, but 2 servers I can juggle things between if needs be.

The way I'm thinking of doing it is having both machines with the same setup (apache port 80 and lighttpd port 81 for streaming)
And use Vhosts on both machines setup for all the sites.
i.e. green.flyfishing.com and blue.flyishing.com each have vhosts setup for flyfishing.com, howtofish.com and fishingvideo.com.

This way, whichever server the dns for flyfishing.com points to goes there, and the same for other services.

Then do a nightly backup of the mysql databases to the other server and keep files rsynced.

Then if a server goes down or I want to move x from green to blue I just load the backup of green database for the relevant application on the blue server and point the dns entry for the app to blue.

View 2 Replies


ADVERTISEMENT

Original Boxes To Ship The Servers Back

Apr 7, 2007

For VOIP traffic I am thinking of moving some servers from bay area to C4D.

I store all my server boxes so its easy to UPS them.

My question is if i wanted the servers to be shipped back from c4d in case of any reason in future do they keep the original boxes around to ship the servers back?

View 9 Replies View Related

Apache :: 2.4.4 To Not Send Back Responses

Aug 11, 2014

I'm using Apache 2.4.4 as a part of WAMPSERVER 2.4 under Windows Server 2008 to host a business web application. I recently added a tool that involves users accessing the application from their mobile devices connected through our wifi network.

The issue occurs when a user is connected via our external address(x.x.x.x:8080). This issue does not occur if connected through our local address(192.168.x.x:8080).

First, the user makes a POST request to our server. The server handles the request and redirects the user to a GET version of the same page. Standard stuff.

However, if the user leaves the network while this process is occurring, the entire server will stop sending back responses. Localhost, x.x.x.x:8080, and 192.168.x.x:8080 all fail to receive responses until the Apache service is restarted.

If that isn't bizarre enough, my access.log continues to be filled with requests and my apache_error.log doesn't report any issues and even reports when the server is being restarted.

At first, I thought this might be a routing problem since it only occurs when connected though our external address and it isn't typical as far as I know for ALL Apache childs to become unresponsive. However, not being able to access the application through even localhost made me rethink that. So, I'm thinking it's a Windows or Apache issue, but that's as far as I've gotten.

This makes our application nearly unusable because it's a system for punching in and out of work, so it's likely people will be trying to punch out while leaving the building and network, causing this issue.

View 1 Replies View Related

Apache :: Why All Virtual Hosts Route Back To Same Document

Oct 7, 2014

I am trying to configure Apache 2.2 on Linux Mint 17 ( derived from Ubuntu 14 LTS).

I am wanting to create a variety of localhost sites all for development. One of those is built on Laravel 4. I have followed every tutorial I can find yet, for some reason which I do not understand ALL my sites route back to the Laravel root document when called from the browser. Just don't get it.

Here is my hosts file:

Code:

127.0.0.1 localhost
127.0.1.1 vince-XPS-8300
127.0.0.1 auburntree
127.0.0.1 example

Here is the Laravel conf file:

Code:

NameVirtualHost *:80

<VirtualHost *:80>
ServerAdmin mail@shaw.ca
ServerName auburntree
DocumentRoot /var/www/auburntree/public

ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>

Here is the alternative "example" conf file with just "hello world" in it.

Code:

NameVirtualHost *:80

<VirtualHost *:80>
ServerAdmin mail@shaw.ca
ServerName example
DocumentRoot /var/www/example/test.html

ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>

Both conf files have been enabled.

View 3 Replies View Related

Supermico Minis Back To Back

Jun 19, 2007

Can you put two of these supermicro mini servers back to back in a standard rack? I am looking at the [url]

View 14 Replies View Related

Unmetered Boxes For Mediaserver

May 23, 2008

to run a static files server w/lighty or otherwise - need VERY low spec hardware, but shared 100mbit port enough to push at least 10TB/mo each.

at most $200 per server if possible, celeron/p4, 512mb ram, 500GB+ HD, shared 100mbit.

us or eu is fine. (just no crap german "unmetered" with 10mbit throttle after 1tb)

View 13 Replies View Related

Best Fully Managed Boxes Under $300

Sep 4, 2008

We want a reliable and powerful fully managed Linux server (Cent OS if possible) for under $300 a month.

View 11 Replies View Related

Server / Boxes For Streaming

Aug 9, 2007

anyone got any suggestions for very high bandwidth media streaming (flash comm server)?

And what kind of boxes to run it from?

View 4 Replies View Related

Large Email Boxes + Cpanel

Jan 7, 2007

I ever seen a large mailbox be reliable, but now I have one that's mine and I have 8000 messages and 1.2gb. I can't even log into Horde webmail, if I use NeoMail its very slow, it takes 1 or 2 minutes to delete 100 messages or empty the trash. So I tried to setup the email account in Thunderbird and it times out. When I use POP3 thunderbird says it timed out but on the server I can still see the CPOP process for that user and it says it authenticating, if I try again to access it it says the mailbox lock is on, if I remove the lock same thing, no way to access it.

So any advise on how to access this large mailbox, perhaps there is a way to increase the timeouts?

Also whenever I try to do anything with the mailbox it increases the server load, from .20 or so it goes to 1, 2 even 3+

View 11 Replies View Related

Is Colocation More Expensive Than Reselling Dedi-boxes?

Feb 18, 2007

I currently run 16 boxes which I rent from various data centers, mark-up and resell. Conventional wisdom says that it's time for me to start colocating my own servers. I've got approval for capital (loan) so it's no problem for me to just buy these boxes and colo them. But... how the hell does anyone afford it?

I mean, I can get a cabinet in H.E. with 10Mbps burst to 100Mbps for $600/mo (through EGI). Which is an insanely good deal until you realize that it only includes 15amps of power. So (I think) that means that I can really only run about 15 or 20 Celerons at the most. So much for filling up the rack.

Optimistically, if I can run 20 Celerons which I've priced at about $700 each including shipping -- plus a switch, KVM, spare parts and bank interest over 24 months -- that's about $800/mo for the servers plus $600 for the cab, plus about $200/mo for remote hands in case I need the DC guys to do something. I'm looking at about $80/mo per server which I have to pay whether it's rented or not.

I can easily find celerons for $80/mo which include some level of support and I can very easily cancel whenever my client does and buy a fresh new one whenever I get a new client.

I was all excited to go colo -- but the numbers don't add up. What am I missing here? What's the big advantage to all the extra hassle of owning your own?

View 14 Replies View Related

Does Your Provider Back Up Your VPS Or Do You Back It Up Yourself

Nov 10, 2009

Many of the VPS providers I've looked at don't back up the servers that house the VPSs and as such don't back up the VPSs either - have you considered what would happen should the VPS itself be erased (such as what happened to vaserv/fsckvps not too long ago)?

View 14 Replies View Related

Mail Server - Setup Virtual Mail Boxes

Feb 10, 2007

AMD Athlon54 X2 512Kx2 socket AM2 3800
slamd64-11.0

Just completed installing the captioned OS with everything installed except GAME. This is an experiment. slamd64 is now running on the box.

I'm going to setup virtual mail boxes on this server, allowing my friends using the mail server sending and receiving mails. Please advise;

1) how to check whether sendmail is running and configured properly.
2) how to setup virtual mail boxes. Where can I find relevant tutorial.

View 2 Replies View Related

Free Email - Lot Of Space And Email Boxes Involved

Feb 13, 2007

One of my customers asked me if is possible technically to offer free email services.

Since he's going to launch a big portal he want to offer such things later, for all users.

Now, there are problems as:
a) if there is any possibility to compress emails similar with GMAIL or YahooMail or so, because i can't imagine the email is uncompressed

b) how can be handled email boxes over multiple (mail ?) servers if the HDD space needed would be larger than for one server HDD ?

View 1 Replies View Related

Best Way Of Back Up

Oct 8, 2009

I have 3 websites on dedicated server(linux - plesk)

my data are about 2gigs. I want to know what is best way of backing up?

View 14 Replies View Related

Back Up Xen VPS

Apr 6, 2009

I have setup a xen vps. I have installed a package called Ossim. The xen VPS is based on the OS -- Centos 5. There are no web hosting panels etc installed like cpanel or plesk. Iam going to proceed with a few more software installations on it like elastix.

However before proceeding further, i want to backup the entire vps ie the entire data in it.

View 1 Replies View Related

VPS Back Ups

Apr 24, 2009

I've always thought, and it is like that, that the back ups are part of any quality VPS Hosting service. But see this below. It is part of the TOS, listed by quite popular vps hosting provider.

"Your use of - - - servers and services is at your sole risk. - - - is not responsible for files and/or data residing on your VPS. While complimentary backups may be provided by - - -, you agree to take full responsibility for files and data transferred to/from and maintained on your VPS and agree that it is your own responsiblity to take backups of data residing on your VPS."

View 14 Replies View Related

Back Up - Is This Possible?

Nov 16, 2008

if this steps is possible.

Back Up files from WHM / cPanel -> Download to PC -> Store it in NAS storage or an external hard disk.

Would that be possible? Is there any risk involve like my data would be corrupted?

View 11 Replies View Related

Can Cron (back Ups)

Jul 10, 2009

I want to set up a cron job to make daily back-ups of my database, but by turning my site off first.

This is how I envisage it to work:
1: rename '.htacess' (in public_html folder for the site) to .htaccess-open
2: rename '.htaccess-closed' to .htaccess
// this closes the site down so no-one can write/access the db (they are basically shown a 'site down for maintenance' page - I already have the code for this)

3: mysqldump --opt (DB_NAME) -u (DB_USERNAME) -p(DB_PASSWORD) > /path/to/dbbackup-$(date +%m%d%Y).sql
// this backs up the database

4: wait for 3 to finish
5: rename '.htaccess' to .htaccess-closed
6: rename '.htacess-open' to .htaccess
// this opens the site back upIs this easy enough to do? Anyone got any tips/pointers?

View 4 Replies View Related

Where Do You Store Your Back Ups

Oct 1, 2009

I would like some tips on how to create back ups with WHM/cPanel on a Reseller if you could.

Also where to store them?

I was thinking of storing them up on a VPS or Dedi server that just has backups or should I buy a enternal Hard Drive for my computer and store them on that? I have a 500GB Hard Drive.

View 14 Replies View Related

WHM Back Up Retention

Oct 29, 2008

how the backup in WHM works as far as data retention. For example, if I select the "daily backup" option, does

- WHM create a new backup for each day every day moving foward until the drive it uses is filled up, OR

- WHM creates a backup for each day of the week, overwriting the previous week's same day data.

View 2 Replies View Related

Cpanel Back Up

Mar 14, 2008

we have a client transferring to us from hg, they have created a full backup from cpanel and we have tried restoring it from whm all the databases, domains and folder structure is restored fine the error is that all the files are restored to a cgi-bin not the corresponding folders.

how we can fix this or a easier way to transfer a hg account

View 3 Replies View Related

Directory Back-Up

Jul 30, 2008

I would like to make some kind of script (probably .sh?) that automatically takes a directory, makes a copy of it then makes a gzip tar and then shoots it over to an FTP server. I would like this to happen twice a day (ie. every 12 hours).

View 13 Replies View Related

Pages Back Up

Feb 24, 2008

I just recently changed the server my website was being hosted on (my website being a small hosting-biz) and my site has been replaced by 1and1's temporary landing page. The thing is I have no idea or experience on what to do to put my pages back up. I don't even think I have them saved anywhere...

View 10 Replies View Related

Remote Back Up

Oct 9, 2007

how to use remote back up any video tutorial you can send the link please

I also need remote back up provider can you recommend any company
real company?

View 2 Replies View Related

Dedicated Back Up

Jun 3, 2008

if I get a dedicated server, is there a way or software program where I can back up my server to a hard drive at my house? OR is better to just pay the monthly fee and get a second hard drive installed and back it up on their server?

View 4 Replies View Related

Back To Basics

Feb 11, 2007

I am so mixed-up now that its hard to even figure out what i need to know, so let me tell you a story.....

It started about a week ago, when i first started on the server configuration module of my CIW course. I began to get confused concerning the topic of permissions and access levels in IIS 5. Because of this confusion i started to backtrack what i actually knew (or rather, what i thought i knew) about networks. I now find myself realizing that i am not even sure about the basic
types of networks. Anyway, thank you for your patience so far, and without further a-do here comes the obligatory questions.

I thought that a peer to peer network was any network without a dedicated server, so the hosts (computers) on the network communicated with each other directly. I also thought that once you added a server to the network, all the shares that were once stored on the individual computers are now moved to the server, and that the individual hosts no longer actually communicate with each other to access files, printers, etc.

However, now I am starting to think that i am wrong about this, and that the hosts may indeed still keep some shares on themselves to be accessed by the other hosts on the network.

It is this method of ACCESS that is confusing me.

QUESTION 1
Do the hosts now have to ask the server to fetch the shares on the other hosts, or can each host still have direct access to any other host?

QUESTION 2
A book i have states "a peer-to-peer network does not regulate user access from a central point". To me, this implies that using a server on the network somehow centralizes access, BUT ACCESS TO WHAT??. Does this mean access to the server that has just been installed, or that the server is responsible for giving permission for host "A" to connect to host "B" to access the shares stored on host "B

QUESTION 3
The same book also states (regarding user-level-access and some kind of access list)...."this access list can be central to a particular server or to an entire network"
WHAT THE HELL DOES THAT MEAN???
Does it mean that this list can be either stored on the SERVER (CENTRAL) or EACH HOST("entire network").

I hope one of you guys can figure out,at least, where i am getting confused because the more i read the more i seem to tie myself up

View 2 Replies View Related

Automatik Db Back-up

Jan 19, 2007

I want to receive daily back-up in my email..how to do this? Is this possible?

View 3 Replies View Related

Emails Seem To Be Bouncing Back

Feb 25, 2009

The issue is that a lot of my emails seem to be bouncing back at the moment with the subject 'Subject: Warning: could not send message for past 1 day'

Could anyone explain why this might be the case? I've had a look online and the only thing I can think it might be is that my email address has been gray listed. To solve this it was recommended to use a SPF Record.

I did not really want to start messing around with my DNS before I could get some confirmation that this is the case. Though if there is another explaination please can you let m know.

The emails that I have sent have all had pdf's attached to them.

View 9 Replies View Related

Server Is Back But Vps Never Start

May 23, 2009

After a downtime of my server i got my main server back but my vps never work.

I am able to ping my ns1 and ns2 and get back correct ips.

But not my vps ip.

When i run vzlist -a i got in status running.

Also in my shared server i got the server up and i can login to whm but my account doesn't work there also.

All additional ip's in my server seems to not work and my DC told me that they are ok....

View 3 Replies View Related

How To Back Up Mail From Old Server

Jun 21, 2008

How can I back up my mail from old server and import to new server?
HostGator support was so good for first couple days now no response in 3 days

View 6 Replies View Related

RDNS Getting Emails Back

Mar 19, 2008

active reverse DNS in web host manager as i keep getting emails bouncing back etc.

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved