Just have one URL and it only directs you to working instances. It can in the background check every minute that each site is up.