+ Post New Thread
Results 1 to 6 of 6
Web Development Thread, Mirroring an onsite hosted website in Coding and Web Development; Hi, I've just set up an inhouse web server to host our school website on. I was wondering what the ...
  1. #1

    Join Date
    Jul 2007
    Location
    West Sussex
    Posts
    262
    Thank Post
    35
    Thanked 11 Times in 11 Posts
    Rep Power
    16

    Mirroring an onsite hosted website

    Hi,

    I've just set up an inhouse web server to host our school website on. I was wondering what the best way of redirecting visitors to a different server would be should the internet connection drop?

    I either want to be able to direct users to a page on another server explainging that the site is down or have a mirror copy of the site on the other server that is used when our server's unobtainable.

    Would I be able to use a php script to check the status of the server and then redirect to another server if necessary?

    Any help would be appreciated.

    Regards
    Dan

  2. #2

    MK-2's Avatar
    Join Date
    Oct 2006
    Location
    Nottingham
    Posts
    3,237
    Thank Post
    149
    Thanked 581 Times in 307 Posts
    Blog Entries
    8
    Rep Power
    199
    If the first copy is in-house and the connection dies, how will people get to the php file to redirect them to the external copy as that would also be hosted internally wouldn't it?

    Might just be me not thinking about this properly though, sorry

  3. #3

    powdarrmonkey's Avatar
    Join Date
    Feb 2008
    Location
    Alcester, Warwickshire
    Posts
    4,859
    Thank Post
    412
    Thanked 777 Times in 650 Posts
    Rep Power
    182
    Quote Originally Posted by IT_Man_Dan View Post
    Hi,

    I've just set up an inhouse web server to host our school website on. I was wondering what the best way of redirecting visitors to a different server would be should the internet connection drop?
    If you're going to host a copy somewhere else anyway, whats the point of having it in house? Put it in a datacentre where the connection is stable to start with. Shared hosting is dirt cheap nowadays, even I can host it for you.

  4. #4

    CESIL's Avatar
    Join Date
    Nov 2006
    Location
    Hampshire
    Posts
    1,403
    Thank Post
    109
    Thanked 267 Times in 198 Posts
    Rep Power
    168
    I'd have to agree with hosting off-site.

    I failed at a job interview a while ago for a web developer role because the tech manager wanted to bring all hosting in-house to "save money". He didn't like it when I suggested that having staff available 24/7 to fix problems would cost more than a decent hosting deal...

    Or maybe it was because I said I wouldn't want to be called out at all hours to fix things...

  5. #5

    powdarrmonkey's Avatar
    Join Date
    Feb 2008
    Location
    Alcester, Warwickshire
    Posts
    4,859
    Thank Post
    412
    Thanked 777 Times in 650 Posts
    Rep Power
    182
    Of course, if you really want to do this, the best way would be a hardware load balancer at your ISP, just upstream of you, but this will cost you .

  6. #6
    mossj's Avatar
    Join Date
    Dec 2008
    Location
    Leicester
    Posts
    1,466
    Thank Post
    157
    Thanked 189 Times in 174 Posts
    Rep Power
    52
    Isn't there some settings when you configure your domain? that says if you wait so long on one ip, go to the next.

    Can't rember the name as we host off-site, for the reason of it being reliable and *dirt cheap*

SHARE:
+ Post New Thread

Similar Threads

  1. EMBC Hosted Website
    By rush_tech in forum Web Development
    Replies: 2
    Last Post: 26th February 2009, 09:31 AM
  2. [Ubuntu] Mirroring Ubuntu
    By Hightower in forum *nix
    Replies: 8
    Last Post: 12th January 2009, 11:18 AM
  3. Hosting onsite?
    By techyphil in forum General Chat
    Replies: 3
    Last Post: 17th July 2008, 11:21 PM
  4. HP L7680 mirroring
    By contink in forum Hardware
    Replies: 0
    Last Post: 20th February 2008, 12:44 PM
  5. HP-Compaq computers - Onsite warranty
    By Kyle in forum General Chat
    Replies: 5
    Last Post: 12th November 2007, 06:10 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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