I have a public domain at 126.96.36.199 (try ping 188.8.131.52 from your terminal; it pings). I have installed tomcat correctly using the following steps:
I have ensured that tomcat is running and active by doing, "wget localhost:8080". This gives me a page called index.html which says that apache tomcat is working. However, if I go to my browser and just type 184.108.40.206 or 220.127.116.11/index.html, it says, "This webpage is not available"
Got .tar.gz file from http://tomcat.apache.org/download-70.cgi
tar -xzvf apache-tomcat-7.0.50.tar.gz
sudo ln -s $CATALINA_HOME tomcat
chmod a+x *.sh
The strange thing is that, if I do a sudo apt-get install apache2 followed by httpd start. I'm able to access my html files in browser from the public server which are placed in /var/www of the server. However, I do not want to do it using apache2 because my ultimate objective is to run a .war(web archive file) which I understand is to be placed in $CATALINA_HOME/webapps. So I need my webserver has to be the apache-tomcat-7.0.50 which I downloaded and extracted.
Please find attached my server.xml file from $CATALINA_HOME/conf/server.xml . I have just renamed it as server.txt for the purpose of uploading.