Apache/Tomcat configuration to allow multiple incoming DNS served by one app (SAAS)

Posted by Shaun F on Stack Overflow See other posts from Stack Overflow or by Shaun F
Published on 2010-04-22T01:01:59Z Indexed on 2010/04/22 1:03 UTC
Read the original article Hit count: 284

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.

© Stack Overflow or respective owner

Related posts about tomcat

Related posts about apache