I am running multiple web servers on a single machine.
localhost:9000
localhost:8080
I want external requests (from the open net) to mysite.com
to route to port 9000 and myevenbettersite.com
to port 8080.
I know the system hosts file does not accept ports so it cannot be used as a solution.
Would IpTables be the proper fit for this?
I would ultimately rather use something like the Mac Server or a Linux GUI to do this for more complex configurations.
This question is clearly about networking so is on-topic. What do you guys not like about the question?