I'm trying to redirect multiple request to different domain name to different server behind my router.
For example: I wan't www.name1.com
to be redirected to 192.168.1.2 and www.name2.com
The big problem is that both domain name point toward the same address (the router address) and then it has to be redirected to the right server (behind to router)... Another problem is that i'm using dynamic address which means that I cannot point each domain name to a different ip address and then use ip forwarding, since I only got one IP.
It has to use the domain name to resolve the finale ip address on the private part of my LAN. Someone already told me that one way to do this would be to use an application-level gateway (like a proxy) between the router and my servers. That's fine with me but I don't know anything about proxy. Anyone have ideas on how to do this (or on any other way to do it)?