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 ...
31st March 2009, 01:13 PM #1
- Rep Power
Mirroring an onsite hosted website
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.
31st March 2009, 01:47 PM #2
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
31st March 2009, 01:59 PM #3
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.
Originally Posted by IT_Man_Dan
31st March 2009, 02:16 PM #4
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...
31st March 2009, 02:22 PM #5
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 ££££.
2nd April 2009, 09:55 PM #6
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*
By rush_tech in forum Web Development
Last Post: 26th February 2009, 10:31 AM
By Hightower in forum *nix
Last Post: 12th January 2009, 12:18 PM
By techyphil in forum General Chat
Last Post: 18th July 2008, 12:21 AM
By contink in forum Hardware
Last Post: 20th February 2008, 01:44 PM
By Kyle in forum General Chat
Last Post: 12th November 2007, 07:10 PM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)