wood burning stoves 2.0*
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
JavaRanch » Java Forums » Products » Tomcat
Bookmark "2 Virt Host : dual personalities?" Watch "2 Virt Host : dual personalities?" New topic
Author

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?
 
Consider Paul's rocket mass heater.
 
subject: 2 Virt Host : dual personalities?
 
Similar Threads
connect to Oracle cluster over JDBC thin client
Apache 1.3 / Tomcat 4.0 Configuration Problem
Apache & Tomcat problem
connecting user with virtual host
Does anybody can explain how RMI works?