I wanted to gather peoples thoughts on the following situation:
Two Apache servers, A1 and A2.
Both servers are behind a router that can forward port 80 to only one ip, so how do you manage two servers hosting different domains on one IP?
I've looked into mod_proxy with little success, and wondered if there was any "DNS port forwarding" feature you can install to manage packets.
For example IP address is 87.166.55.44 (fake don't try it :p).
A1 hosts foo.com A2 hosts bar.com
port 80 forwarded to A1. A1 realises it's a request for bar.com, so acts as a proxy between A2 and the router.
I hope this makes sense, and any help would be appreciated!