I am running Apache on port 80 of my server, and JBoss on port 8080 of the same machine. How can I have Apache redirect requests with a certain domain name to the JBoss server on 8080? I'd like to keep the port number from showing in the URLs for the JBoss site.. is an Apache rewrite the best way to do this? Or should I use a different method / tool?
For example, requests to "x.com" would eventually lead the user to 22.214.171.124:80, while requests to "y.com" would bring them to 126.96.36.199:8080.