Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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 http://app.domain.com/ it would go to the Tomcat application? Thanks!

share|improve this question

1 Answer 1

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
2  
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

 
discard

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.