i usually do this with nginx and upstream servers its very easy, you can route by host_name.

i think you can also solve it with vibe.d as a loadbalancer (someone else needs to comment on this).

a 3rd option would be linux and vibe.d with libasync where you can have multiple process listening on one socket
(at least i remember etcimon mentioning that this works).

On Fri, 20 Nov 2015 09:32:02 GMT, Louie Bacani Foronda wrote:

I would like to pass requests from first.com and second.com to a single server is this possible?

so basically what I am thinking is to run

first.com in port 8080
and
second.com to 8081

in the dns I only put the server ip..
first.com server.ip
second.com server.ip

now I need to run something on port 80 right then just pass the requests to the ports...

I only have access to a single ip and server...