I know that you can have virtual hosts in app servers like tomcat and apache. Most of the solutions I know of require you to list the vhosts in a text file which, I understand, requires tomcat/apache to be restarted. So my questions are two:
- Is there any way to store this information in a database? I’ve seen an apache module somebody wrote, but a large-scale solution would require that information to be cached because it changes so seldom.
- If it is stored in text files (perhaps automatically copied there from database contents), do all the servers have to be restarted? And doesn’t that take a long time, during which the servers are unavailable? I cannot see a system like blogger.com having its servers being constantly taken down and back up.
Technorati Tags: Blogger, Hosts, Like, sites, store, virtual