Two Servers With 1 Site

Discussion in 'General Chat' started by nathanayers, Jul 30, 2007.

  1. #1
    I have a question which I believe will be very easy to answer. I have a site which is currently hosted by my friend on his server. I am trying to add my own server as well as the one currently hosting it. Number one is this an easy process? Number two how should I go about doing it?!?!
     
    nathanayers, Jul 30, 2007 IP
  2. meikeric

    meikeric Peon

    Messages:
    58
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Assuming the existing web hosting is Linux, it's not too difficult of a process. You'll need to sync the files anytime you change them. I recommend RSync for that. You'll have to setup a cron job to do that.

    To have people actually go to both servers you'll need to setup Round-Robin DNS. Basically every web request, it would alternate which server the DNS requester goes to.

    Look up RSync and Round-Robin DNS, and you'll have it.
    Mike
     
    meikeric, Jul 30, 2007 IP