1

Apache listening on 80 routing everything to nodejs listening on port 8080

view story
linux-howto

http://serverfault.com – I have an Apache server handling many VirtulServers and everything works fine. I don't know how it works internally but it does. I recently tinkered a bit with nodejs, making experiments on this server, on the 8080 port. Now that I want to go on production, I have set up a domain name pointing to my server, but I want to avoid the ugly example.org:8080/ URL that I have at the moment. How could I tell Apache, which is listening on 80, to route traffic from example.org to 123.12.12.123:8080 and vice-versa? I have tried ModRewrite but specifying the port and domain forces it to appear in the add (HowTos)