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.

small configuration problem here. i have a tomcat server with apps deployed like this

tomcat.mydomain.com:8080/app1
tomcat.mydomain.com:8080/app2
tomcat.mydomain.com:8080/app3
tomcat.mydomain.com:8080/app4
tomcat.mydomain.com:8080/app5

because of other reasons, i have to use mod_jk to proxy these applications out to the following urls

myapp1.mydomain.com
myapp2.mydomain.com
myapp3.mydomain.com
myapp4.mydomain.com
www.completedifferentdomain.com

ive been searching online for ideas how to configure this but it looks like i have to map the individual applications to their own subdomain in tomcat and then proxy to those subdomains. is that correct or can i do this some other way.

share|improve this question
    
What are you using to host this? I know Ubuntu has tools to support multiple tomcats running at one time (I have 9 on one server at this point). –  MaddHacker May 14 '12 at 18:04
    
its hosted on a debian server. –  scphantm May 15 '12 at 21:01

1 Answer 1

up vote 2 down vote accepted

in case anyone cares, i ended up having to configure all the applications into their own vhosts and then mapping them thru the proxy. there probably is a better way to do it, but i was under the gun and that was the only configuration i had that worked.

share|improve this answer
    
+1 for self empowerment! BTW, that is the way I would've done it myself. Based on what you stated, vhosts going to be cleaner and easier to manage. –  KM. May 16 '12 at 0:36

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.