I have 2 machines and a router running DD-WRT. My machines are,
- Windows 2008, running my DNS and IIS7
- Ubuntu 11.4 Server, running Apache 2.
Currently I have all requests to my external IP address on port 80 forward to my Windows 2008 machine. I have added the additional Ubuntu server recently, and I would like to route the to the IP address based on the host. Currently there is only a 1 to 1 relationship between the port and the server, with all requests for port 80 going to the Windows 2008 machine. As an example, this is what I would want to do:
If I had a request come into my router for
example-a.com, I would forward it to
If I had a request for
example-b.com', I would forward it to192.168.1.3`
Is this something that needs to be routed through my 2008 machine first, or can I do this from the router?