I am having some problem hosting a second website in the same server.
I have 2 1and1 domains now. When i had the first one, i set the DNS setting to point to my server's ip address and i had the port forwarding setup that forwards this request coming from port 80 to the port that tomcat is running in my server.
Now i have to add a new webapp for the new domain that i just purchased and it looks like i cannot specify port in the dns setting in 1and1 console for the IP address.
How can my tomcat instance know that the request is coming for this domain and it needs to hit a different context?
I had my original webapp named at ROOT so the domain directly pointed to the correct app!
Let me know if you have any questions?
Looking forward for your help!