Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

So I have a web application that runs on Tomcat, but I also have Apache running, so I can't forward Tomcat to use port 80, so now its just sitting at 8080. Is there anyway I can configure the two of them to kinda "work together" so if I put in it would go to the Tomcat application? Thanks!

share|improve this question
up vote 3 down vote accepted

Apache's Name-Based Virtual Host configuration will allow you to accomplish this fairly easily: set up a name-based vhost for your Tomcat app and configure it to use mod_jk to talk to Tomcat.

share|improve this answer
You might also want to take a look at mod_proxy_ajp as many are moving from mod_jk to its use these days. It has some advantages in certain situations over mod_jk. – Doug Mar 2 '11 at 22:25

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.