I have 2 tomcat apps I want to run on the same server, is it possible to have tomcat be smart enough to say if comes in on domain 1 go to app 1 as default and domain 2, go to app 2 as default?
Right now one of the apps is renamed to be called ROOT so it gets all the default traffic regardless of domain.
If not I guess I need to add another ip to the box and run 22 instances of the server? If I have to go this route, how to I force it to listen on a specific ip instead of the default interface?
thanks
Joel
You can use tomcat virtual hosts for that.