This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Tomcat and the fly likes 2 Virt Host : dual personalities? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "2 Virt Host : dual personalities?" Watch "2 Virt Host : dual personalities?" New topic

2 Virt Host : dual personalities?

Dave Elwood
Ranch Hand

Joined: Dec 27, 2002
Posts: 84
on a LAN my pc "Host1" runs Apache and Tomcat 4.0 over mod_jk. In server.xml and httpd.conf I must use a virual host named "Host1" and specify my app "App1" in Tomcat.
Now, how about a second virtual host? I have added a virtual host "Host2" which handles "App2". After all of this is it possible to http://Host2/App2 ???
For that I would need a second IP address? Or some kind of alias mechanism. Or not?
But I cannot get http://Host2/App2 to respond.
what's wrong here?
I agree. Here's the link:
subject: 2 Virt Host : dual personalities?