How do you configure Tomcat to allow dynamically added hosts?

Posted by Shaun F on Server Fault See other posts from Server Fault or by Shaun F
Published on 2010-04-22T13:55:13Z Indexed on 2010/04/22 14:03 UTC
Read the original article Hit count: 236

Filed under:
|
|

Is there a way to setup apache and tomcat so that I can have

d1.webapp.com d2.webapp.com d3.webapp.com etc.

All hosted by the same tomcat instance without having to add aliases to the HOSTS element in the tomcat config file? I will be allowing new users to have thier own domain when they sign up and it will be a subdomain of the web app. I don't want to keep updating the hosts file for aliases and restarting tomcat though each time a new user signs up?

© Server Fault or respective owner

Related posts about tomcat

Related posts about apache