1 Reply Latest reply on Jul 29, 2014 9:20 AM by ctomc

    WildFly hostname - multiple aliases ?

    pavelpscheidl

      I am trying to make my website accesible via www.gateway.example.com and also under gateway.example.com.

       

      When I deploy my war with jboss-web.xml pointing to webhost host like this one, everything works:

      <host name="webhost" alias="gateway.example.com" />


      However, having multiple domains separate by whitespace in alias doesn't work and I get Error 404.


      <host name="webhost" alias="gateway.example.com www.gateway.example.com"/>


      Is there any solution to this ?