Howto

Published on December 7th, 2013 | by Kieran

0

Redirecting Tomcat default home page

To redirect the default Tomcat home page to another URL, simply edit the index.html in the /CATALINA_HOME/webapps/ROOT/ directory, where CATALINA_HOME is your Tomcat directory.

Delete the contents of the file, replacing it with the following lines:

So for example, if I wanted to redirect people to www.kieranlane.com, the meta tag would read:

 

Tags:


About the Author

has worked with computers and technology for over 20 years. Based in the United Kingdom, he works as a Solution Engineer for Salesforce, specialising in all things Commerce, Digital and the Internet. Predominantly blogging on KieranLane.com he can also be found on Twitter @KieranLane, Instagram and Flickr.



Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Back to Top ↑