Report this

What is the reason for this report?

How to link a Domain to a web app deployed to tomcat?

Posted on October 6, 2015

Hello, i’m having problems linking my domain from 1&1 to my webapp deployed to tomcat. the ip of the webapp is http://xxx.xxx.xxx.xx:8080/ChronoGames i would love to have some help



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hello,

To get things working on your domain you will have to get the application running on port 80. Currently it’s running on port 8080.

This guide shows how to setup tomcat connections with an SSL. While you do not have to use an SSL, the same process would apply for setting up Apache or Nginx to proxy the Tomcat connection.

I do recommend using an SSL though, as the guide helps do. This improves security of the application and is becoming a more and more important thing within the web world.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.