Here's an interesting one. We have a NAT router connecting devices on a LAN to the Internet. The router's Internet interface has a fixed IP address. DNS has been set up so that
www.domain1.com and
www.domain2.com both point to the IP address assigned to the Internet interface of the router.
What I'd like to do is have the router forward incoming web traffic connecting to the router on port 80 to one of two possible internal web servers, depending on which domain name the client is connecting to.
It seems like this might be possible, as the domain name should be embedded in the HTTP headers.
Anyone know if this can be done? Preferably with a Draytek Vigor 2820 router, but would be interested to see if this kind of functionality is possible with any router OS.
Has anyone come across this kind of conditional NAT Web forwarding (I'd call it something like that) in action?