View Single Post
MikeHGA79
x10Hosting Member

MikeHGA79's Avatar

Join Date: Dec 2007
Posts: 24
Credits: 466
MikeHGA79 is on a distinguished road
Quote  
01-25-2008, 11:03 PM
IF/THEN statement to pick which site to navigate to?

Ok...I'll do my best to explain. Essentially I have two identical websites (mirrors I guess) that are with two different hosts. Let's call them Site A & Site B. I'd like to have a 3rd site to serve as a portal. We'll call that "Portal". All users will access Portal....at that time I'd like to have some type of script that would look at Site A, if Site A is up, then proceed to Site A. If Site A is down, go to Site B. How is this possible? Currently I just have a iFrame sitting in the Portal and it's pointing to whatever site is up and/or running faster. Of course I am manually updating this throughout the week. I'm using some free website monitoring services that I thought I could use in this whole formula I'm just not sure how to implement it.

Any ideas? And oh yeah...the goal is to do all this for zero $$.

Thanks!
__________________
cPanel- MikeHGA7
Reply With Quote
MikeHGA79 is offlineReport Post