1 Reply Latest reply on Apr 30, 2003 12:59 PM by hank_mclaurin

    Virtual Hosts

    markzander61

      I've got an application I am trying to deploy using JBoss 3.0.4/Jetty. I need the application to respond to a virtual host name. I can get it to work correctly using the standard JBoss/Jetty addressing: http:///quality, but I need it to respond using http://quality.domain.name.

      I put the following code in my WEB-INF/jboss-web.xml file:

      <virtual-host>
      quality.domain.name
      </virtual-host>

      There is a correct DNS entry for quality.domain.name.

      When I deploy the application with this code, all I get is "HTTP ERROR: 404 Not Found" errors. When I take it back out and redeploy then it will answer.

      What have I done wrong? Any ideas?

      TIA!!

      Mark