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 nearly 20 years. Based in the United Kingdom, he works throughout EMEA as a Solution Consultant, specialising in Fax & Document Distribution technologies. Predominantly blogging on KieranLane.com he can also be found on Twitter @KieranLane, and Flickr.



Leave a Reply

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

Back to Top ↑