Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    May 2009
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Server mirroring

    First of all, I don't know if this belongs here, but it could be because the servers I'm going to discuss work with Apache. So...

    I'm about to start a new project and there is a hosting issue that has been discussed about mirroring the servers and having some backup.

    A different team is proposing a mirroring option that has server A with one hosting provider and server B with another provider. They are working on a solution that will detect when server A is down so it can redirect to server B.

    At first glance I'm not sure that's possible. At least what I think I know is that both servers would need to be within the same network or else, how can one domain work for two different DNS.

    I've been doing some research and so far have come empty handed and was wondering if someone here could have some other input regarding this issue we are facing.

    Thanks!

  • #2
    New to the CF scene
    Join Date
    May 2009
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Well, I'll try to clarify it a little bit more. (even for me)

    Server A (SA) will be with hosting provider A (HPA).
    Server B (SB) will be with hosting provider B (HPB).

    Each server has the website and the database installed. SA is supposed to be the primary server and SB would just be there as a backup.

    First, there should be some sort of process that is updating the database in SB.

    So, when, and if, SA goes down, people entering the site should be redirected to SB, that it has, or should have, the database updated, so for visitors this redirection is "transparent".

    Our question is if that idea of how it should work can be done through proxys, or load balancers, or just through DNS settings (the domain pointing to several IPs from different servers).

  • #3
    Senior Coder
    Join Date
    Sep 2010
    Posts
    1,971
    Thanks
    15
    Thanked 229 Times in 229 Posts
    http://www.pclinuxos.com/?page_id=188

    That is what I use to mirror my site, which is on the excellent 50webs hosts. The mirror is my localhost, my home machine. I had to replace my hard drive a couple of months ago, it only took about two hours to install, replace and setup the server mirror.
    Welcome to http://www.myphotowizard.net

    where you can edit images, make a photo calendar, add text to images, and do much more.


    When you know what you're doing it's called Engineering, when you don't know, it's called Research and Development. And you can always charge more for Research and Development.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •