Many domains, many servers, 1 public IP.
Posted on 2009-02-13
Here's my inventory:
1 - Public IP (22.214.171.124)
1 - Consumer Router
4 - domain names (domain1.com, domain2, domain3.com, domain4.com)
4 - Server machines (1, 2, 3, 4) behind the router
1 - Spare centOS machine.
I would like to find a way to to point the name servers for each of my domains to 126.96.36.199, and then somehow direct all traffic for domain1.com to machine1, domain2.com to machine2, etc etc.
I know that I can do this very easily with multiple public IPs. I can also do this by not duplicating ports on any of the machines. But I don't really want to go that route.
Any thoughts? Perhaps I could expose the centOS box as a routing machine and do some kind of translation and routing with that. I don't know - I haven't the foggiest idea where to start. I'm also not asking for specific information, but rather specific research topics and places to look to find the information required.
Thanks in advance!