I've registered a domain and have godaddy hosting setup. The problem is, the dns entry points to the actual static IP address to the server and in order to get to the web app, I have to add :8080/Folder
So I want access to my site by typing www.domainname.com and it point directly to my site. Worse case scenario, I would like the port 8080 requirement in the URL to be omitted.
Is it a shared server, or is it a virtual/dedicated server?
On a virtual/dedicated server, you can change Tomcat connector port to default HTTP port 80 (edit server.xml), and change your webapp folder name or WAR name to "ROOT".
If it's a shared server, it's best to ask the hosting helpdesk.
Tim Holloway wrote: (warning: this is a security risk!).
I was not aware that deploying tomcat as a front facing server is a security risk. Can you please elaborate how it is so? Is fronting with httpd the only solution to those risks?
Tomcat itself is quite secure. However, unlike Apache httpd, Tomcat cannot serve up port 80 or 443 without running as root. which means that if someone does exploit Tomcat, they pretty much own your server. Apache httpd starts as root in order to obtain those (protected) ports, but normally then drops down and operates under a more restricted userid.