I currently have a tomcat 1 servlet running under ROOT:
api1.myhost.com:8080/
I use mod_proxy and just forward all requests from api1.myhost.com to this instance. It works today.
Now I installed the second servlet 2, which runs under the same tomcat instance (same IP address):
www.myhost.com:8080/servlet2
I want all requests to the new api2 URL to go to the second servlet so that:
API2 .myhost.com
now sent to the second instance of the servlet.
I created an A record, so api2.myhost.com points to my server IP address. How do you do api2.myhost.com at www.myhost.com:8080/servlet2?