I am trying to make a link shortener resilient to server failure by re-routing to a good server.
Example:
- shortener.com/a1b2c3 > forwards to > website1.com
(shortener.com and website1.com are on different dedicated servers)
For argument's sake, lets say the http://shortener.com link is posted to Twitter. So the user journey is twitter.com > shortener.com > website1.com
Can I use DNS or some top layer infrastructure to detect shortener.com server is down and use alternative, to re-route traffic to website1.com?