Knowledge Folders is a web application that holds and displays content for multiple users. I have been wondering lately if I could expose the content from this single web application as multiple web sites with their own domain names? Could I use virtual hosts to do this? Or do I need to use reverse proxies? How and where am I going to register domain names? What entries I need to make in tomcat configuration files? How do I handle emails for these independent domains? What else do I need to do in my web application? What will the end result look like?
After a few weeks of effort, I was able to expose Knowledge Folders as multiple web sites with their own domain names. It turned out I didn't need to go to reverse proxies for now and could use virtual hosts. I was also able to get my multiple domain names from godaddy.com. I was able to use tomcat host/alias settings to effectively route traffic from all these domains to the same webapp. Using index.jsp of the webapp I was able to separate the content between different domains. After all this effort I ended up with a way to publish online web sites very quickly and expose them as their own domains. The resulting web sites will have a number of features that static web sites won't be able to accomplish easily.