This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread 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 Java Interview Guide this week in the Jobs Discussion 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?
It's not a secret anymore!