Redirecting locally to a different machine/port depending on the domain name
I have several web servers (most of them running on Windows) on different machines on my local network. So far I have configured a domain name to point to my local network's IP, and each server is running on a different port, and I redirect through the router according to the port requested. What I would like to achieve is to have several domain names pointing to my metwork's IP, and when a user requests a particular domain through port 80, he will be redirected locally to the correct machine on the correct port.
How can I achieve that? Do some routers hav开发者_运维百科e this option? Is it possible to centralize all the requests on port 80 to a single machine which will locally redirect?
Thanks a lot!
PS: The web servers I use: Apache2 (x2), JRun, and the embedded servers in XBMC, TightVNC, eMule, and uTorrent.
精彩评论