How to Redirect Tomcat :80 to different site?

Posted on 2013-10-14
Medium Priority
Last Modified: 2013-10-17
I have a webapp running (http://myserver.mydomain.com:8080/mywebapp)
I want to have the default tomcat page (http://myserver.mydomain.com) redirect to my webapp so there is no confusion from the end-users when they enter the URL.

What's the easiest way to do this? I'm using RHEL5.9 running Apache Tomcat Version 7.0.34
Question by:jat0369

Accepted Solution

Pepe2323 earned 1000 total points
ID: 39571907
Use apache , in specific use mod_proxy, that way apache will be on port 80 but it will redirect the connection to the tomcat.

Take a look to this link you will find what you need.


LVL 12

Assisted Solution

by:Radek Baranowski
Radek Baranowski earned 1000 total points
ID: 39573278
1. Change Tomcat's port to 80
2. Then follow this: http://stackoverflow.com/questions/1363605/tomcat-base-url-redirection

Featured Post

Build your data science skills into a career

Are you ready to take your data science career to the next step, or break into data science? With Springboard’s Data Science Career Track, you’ll master data science topics, have personalized career guidance, weekly calls with a data science expert, and a job guarantee.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Virtualization software lets you run different versions of Windows, Ubuntu Linux and other versions of Linux all at the same time, rather than running each one directly from your computer's hard drive.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

619 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question