How to Publish Multiple Websites Using a Single Tomcat Web Application

by Vivek Gite on August 31, 2006 · 0 comments

This is nifty way to publish multiple websites using a single tomcat application.

While the idea of mapping several names onto one Apache instance with VirtualHost directives is well known, what do you do when you are serving web apps with Tomcat? Satya Komatineni has both the code and the configs that you'll need to make this work.

FTA, "Knowledge Folders is a web application that holds and displays content for multiple users. I had been wondering if I could expose the content from this single web application as multiple websites with their own domain names. Could I use virtual hosts to do this? Or would I need to use reverse proxies? How and where would I register domain names? What entries would I need to make in Tomcat configuration files? How would I handle emails for these independent domains? What else would I need to do in my web application? What would the end result look like?"

Read more at onjava.com...

Featured Articles:

Share this with other sys admins!
Facebook it - Tweet it - Print it -

We're here to help you make the most of sysadmin work. So, subscribe!

Leave a Comment

You can use these HTML tags and attributes for your code and commands: <strong> <em> <ol> <li> <u> <ul> <blockquote> <pre> <a href="" title="">
What is 9 + 12 ?
Please leave these two fields as-is:
Are you a human being? Solve the simple math so we know that you are a human and not a bot.



Previous post:

Next post: