Hi,
this is more disscussion for wildfly forums but anyhow....
"default-host" is configured as default and as such all non otherwise matching host will end up being served by default host.
you could add another host and which will be used only when host matches the one you want or add extra host and make it default
an example what you could do:
<server name="default-server" default-host="other-host">
<http-listener name="default" socket-binding="http"/>
<host name="default-host" alias="localhost">
<location name="/" handler="welcome-content"/>
<filter-ref name="server-header"/>
<filter-ref name="x-powered-by-header"/>
</host>
<host name="other-host" alias="some.other.host, some.alias">
<filter-ref name="server-header"/>
<filter-ref name="x-powered-by-header"/>
</host>
</server>Just keep in mind that if using non-default host, you need to tell your application to use it by adding jboss-web.xml with <virtual-host>name-of-other-host</virutal-host>