I found the answer after reading the logs... Keycloak has no WARfile but its alias is keycloak-server.war.

Instead of main-auth-server.war for the default-web-module param, it should be keycloak-server.war
<subsystem xmlns="urn:jboss:domain:undertow:1.2">
            <server name="default-server">
                <host name="default-host" alias="localhost" default-web-module="keycloak-server.war">
                    <location name="/" handler="welcome-content"/>
                </host>

On 23/9/2015 2:47 PM, Eugene Chow wrote:
Hi,

I tried following the instructions at the following URL to set the root context of Keycloak but it still defaults to the welcome page.

http://keycloak.github.io/docs/userguide/html/server-installation.html#d4e423

Is the documentation outdated?

Thanks,
Eugene