5

In standalone/configuration/standalone-full.xml, I've declared the following host, that works

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

When I try to add another alias, I'm given Error 404.

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

The DOCUMENTATION says list of aliases is whitespace separated.

1 Answers1

5

There was a bug in documentation. It is comma separated list of hosts not white space separated.

example would be

<host name="default-host" alias="localhost, some.host" >

I also fixed documentation to to address this

Tomaz Cerar
  • 5,761
  • 25
  • 32
  • Edited standalone-full.xml and it works like a charm. I appreciate your help. Thank you. –  Jul 29 '14 at 10:20