Apache Tomcat - Responding for IP However Not for Domain

Posted by user3322152 on Server Fault See other posts from Server Fault or by user3322152
Published on 2014-06-10T13:44:14Z Indexed on 2014/06/10 15:27 UTC
Read the original article Hit count: 176

I have just started setting up a VPS. I installed Tomcat to deploy some test applications on. The problem I am having is the following.

An 'A' record has been setup for my website's primary domain as vps.mydomain.com. This is resolving fine for SSH and TS3.

When it comes to Tomcat, using vps.mydomain.com:8080 does not result in the default landing page. However, 111.222.333.444:8080 does load the default Tomcat page.

I read through the manual and within the server.xml added an Alias; this however has not had any effect. Is there any trickery required in order to get Tomcat to serve my applications or is this likely to be some kind of filtering mechanism for requests placed upon me by my hosting provider?

© Server Fault or respective owner

Related posts about apache-2.2

Related posts about tomcat