From the beginning you have a single “Host” record in your conf/server.xml for localhost
<Host name="localhost" appBase="webapps" unpackWARs="true" autoDeploy="true">
<Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"
prefix="localhost_access_log." suffix=".txt"
pattern="%h %l %u %t "%r" %s %b" />
</Host>
Now you can add another “Host” records, for example
<Host name="anotherclient.com" appBase="anotherclient" unpackWARs="true" autoDeploy="true">
<Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"
prefix="anotherclient_access_log." suffix=".txt"
pattern="%h %l %u %t "%r" %s %b" />
</Host>
where name="anotherclient.com" is the new client’s domain, and appBase="anotherclient" is its web application root directory name (where you deploy your war); it is relative to the tomcat home dir.
Changes will be accepted after tomcat is restarted.
Requests going to any other domains (not listed in server.xml) but pointing to IP address of your server will be passed to the default application, it is specified in the Engine element
<Engine name="Catalina" defaultHost="localhost">