Scott Purcell wrote:
Hello,
Running Tomcat 5.5 @ home and running a website which has a DNS entry in
it. I made the site the default webapp, and configured it in the
server.xml.
A week ago, I created another context (in the server.xml) for a
dev-site, of my live site, and I am using that for QA. I want to run a
second real-web site off this box, and same Tomcat. It has its own DNS
entry, and want to know if this is doable? If so, what should I read
about as far as configuration. I had read about the Engine, Server,
Context but have not really seen how to put two site DNS entries in.
Thanks,
Scott
Do you have several IPs (one per site) or just several hostnames
pointing to the same IP?
In the first case, creating one <Host> section per IP should do the
trick. In the second case you need name-based virtual hosts. I'm not
sure whether this can (easily/at all) be achieved with multiple <Host>
tags as well. So far I have only set up name virtual hosts with Apache
HTTPD using the NameVirtualHost directive.
Edmund
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]