Question

Need help with tomcat and java application

I have setup tomcat and my application is running at the following url - http://104.131.198.95:8080/Onlinetest/

Here’s what I’d like to do. 1 - I have a domain xpertus.in 2 - I’d like this application to display as soon as someone tries to load xpertus.in, in other words, I want the application to run as a wensite and not as an ip address.

Things that I already know are as follows 1 - I have setup ns3.mumbaionweb.in and ns4.mumbaionweb.in to point this ip address 2 - I can now anytime point the domain to the above mentioned name servers.

Things that I need help with 1 - How do I configure tomcat to display application as a domain website and not ip address.

Show comments

Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

This comment has been deleted

This question was answered by @kanith:

Hi VISHAL295257 I think this post can help you https://www.digitalocean.com/community/questions/deployed-a-java-web-application-not-able-to-access-the-application-via-the-ip-address

You can see the comment here.