A question regarding fallback
So I had an idea in mind not sure who to ask but if say I have 2 servers, one that is used to actually run the main services but server 2 which acts as a fallback/backup in case the main one goes down.
So how exactly do I make it a automated fallback type of thing? Say for example, I have an IP of 188.8.131.52 and Server 2 has an IP of, 184.108.40.206.8, is it possible if the main server goes down for x amount of time to use IP of Server 1 for Server 2? Or something?
Sounds a little stupid but I'm trying to think of a way to ensure the fallback is as smooth as possible without the client having to notice like an IP change for example which is something I'd want to avoid.