Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

2 Virt Host : dual personalities?

 
Dave Elwood
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic