I am using a Tomcat server that can be accessed via https://<IP>:8443/webappname (works for all web apps)
This tomcat server is also configured to be accessed by domain like: https://mydomain123.com/webappname
However, not all webapps are accesible. How to make a new web application in the webapps folder accessible like the above (domain).
If Apache (httpd) is running in front of Tomcat, it is most likely using
mod_proxyto forward requests for some webapps to Tomcat. Since it works for some webapps but not others, try looking into the Apache config files (usually under/etc/apache2in Linux) for lines starting withProxyPass, similar to this:There should be two lines like this for each webapp accessible through Apache. Just copy those lines and change the name of the webapp (“example” above) to proxy other apps.
If you don’t find any
ProxyPassline in the Apache config files, it may be using a different module, likemod_jk.