tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Danny Trunk <>
Subject Multiple Hosts with same appBase
Date Sat, 10 Oct 2015 15:57:58 GMT
Hello everyone,

I need to access the appBase itself as default and access the appBase
with a specific docBase by a different host/domain.
I'm currently running Tomcat 7.0.26 on Linux Ubuntu 12.04.5.

Here are the essential bits of my server.xml:

<Engine name="Catalina" defaultHost="localhost">
  <Host name="localhost"  appBase="webapps" unpackWARs="true"
autoDeploy="false" />
  <Host name="" appBase="webapps" unpackWARs="true"
autoDeploy="false" deployOnStartup="false">
    <Context docBase="mywebapp" path="" />

Currently all domains are returning the "mywebapp" webapp.
What's wrong and how to resolve?

Best regards

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message