3 Replies Latest reply on Jul 5, 2012 8:58 AM by Tomaž Cerar

    virtual host domain configuration

    Jonathan Tougas Newbie

      I'm having trouble setting up the virtual host configuration for my app when in domain mode on 7.1.0-Final. The app has no jboss-web.xml configuration file, and in both standalone and domain mode uses this configuration:


                          <subsystem xmlns="urn:jboss:domain:web:1.1" native="false" default-virtual-server="super-host">           

                  <connector name="http" protocol="HTTP/1.1" scheme="http" socket-binding="http"/>

                  <virtual-server name="super-host" default-web-module="myapp-0.0.1-SNAPSHOT" enable-welcome-root="false">

                      <alias name="domain.com"/>




      In standalone mode, I can access the app at http://domain.com:8080/, but in domain mode it remains accessible only at http://domain.com:8080/myapp-0.0.1-SNAPSHOT/. How do I get rid of the context path in domain mode? Shouldn't I be getting the same behavior in domain/standalone mode?


      Also it would be appreciated if someone could first confirm this isn't simply a blunder on my part.