4 Replies Latest reply on Apr 11, 2003 4:31 PM by mobrules

    jboss 3.06/jetty virtual host

    coach-x Newbie

      I am trying to set up a virtual host in jboss so that www.domain1.com redirects to /context1 as well as www.domain2.com redirecting to /context2. I have the default context set as well as the virtual host information under web-inf/jboss-web.xml

      <context-root>/context1</context-root>
      <virtual-host>www.domain1.com</virtual-host>

      If I type www.domain1.com or www.domain2.com I see the default context. I could set a jsp redirect under the default context, but I think there must be a way to do this on the server.
      Any help would be appreciated.

      using jboss/3.06 - Jetty/4.2.6