views:

34

answers:

0

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.