^^this is the biggest problem, it will put a load of pressure on the servers : connectin everytime that page loads, unless you ran a cron job, dump data into a database every 15 30, 60 minutes or so, and used that to redirect pages, that wud be faster....but a load of work .....and maybe not as accurate .... but I would say that connecting to three servers everytime someone tries to access your site is a crap idea ... even running the cron job every 5 minutes would be better than that ....
couple of things. .... do you have ssh access to every server ?
does every server allow you to run cron jobs ?
do all these servers use the same database ?
and urm .... no that's it for now........