Assume a situation like this:
Server 1 - FreeBSD, Apache -- serves all web traffic
Server 2 - FreeBSD, Apache -- just sits there idling
Is that an easy way to set things up so that if Server 1 fails, traffic is automatically routed to Server 2 instead?
A quick brain-storm about it makes me think there must be some sort of trivial firewall or hardware appliance I can set up in front of both boxes that would do a:
- Receive request on port XXX
- Try to forward request to Server 1
- If SUCCESS Return response
- Otherwise try to forward request to Server 2, return response
Additional question: I'm familiar with pfSense... can this be done in pfSense?