<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Hi,
<div class="">I am using Wildfly 8.2 Final.</div>
<div class="">I am using the default Undertow subsystem configuration -</div>
<div class=""><br class="">
</div>
<div class="">
<div class=""><font face="Courier New" class=""> <subsystem xmlns="urn:jboss:domain:undertow:1.2"></font></div>
<div class=""><font face="Courier New" class=""> <buffer-cache name="default"/></font></div>
<div class=""><font face="Courier New" class=""> <server name="default-server"></font></div>
<div class=""><font face="Courier New" class=""> <http-listener name="default" socket-binding="http"/></font></div>
<div class=""><font face="Courier New" class=""> <host name="default-host" alias="localhost"></font></div>
<div class=""><font face="Courier New" class=""> <location name="/" handler="welcome-content"/></font></div>
<div class=""><font face="Courier New" class=""> <filter-ref name="server-header"/></font></div>
<div class=""><font face="Courier New" class=""> <filter-ref name="x-powered-by-header"/></font></div>
<div class=""><font face="Courier New" class=""> </host></font></div>
<div class=""><font face="Courier New" class=""> </server></font></div>
<div class=""><font face="Courier New" class=""> <servlet-container name="default"></font></div>
<div class=""><font face="Courier New" class=""> <jsp-config/></font></div>
<div class=""><font face="Courier New" class=""> <websockets/></font></div>
<div class=""><font face="Courier New" class=""> </servlet-container></font></div>
<div class=""><font face="Courier New" class=""> <handlers></font></div>
<div class=""><font face="Courier New" class=""> <file name="welcome-content" path="${jboss.home.dir}/welcome-content"/></font></div>
<div class=""><font face="Courier New" class=""> </handlers></font></div>
<div class=""><font face="Courier New" class=""> <filters></font></div>
<div class=""><font face="Courier New" class=""> <response-header name="server-header" header-name="Server" header-value="WildFly/8"/></font></div>
<div class=""><font face="Courier New" class=""> <response-header name="x-powered-by-header" header-name="X-Powered-By" header-value="Undertow/1"/></font></div>
<div class=""><font face="Courier New" class=""> </filters></font></div>
<div class=""><font face="Courier New" class=""> </subsystem></font></div>
</div>
<div class=""><br class="">
</div>
<div class="">As you see I do not have any aliases apart from the localhost.</div>
<div class=""><br class="">
</div>
<div class="">I have a local DNS entry which points <a href="http://acme.example.com" class="">acme.example.com</a> to the IP Address of the Wildfly Server/Host.</div>
<div class=""><br class="">
</div>
<div class="">When I try to fetch a page <a href="http://acme.example.com:8080/SVWeb/index.html" class="">http://acme.example.com:8080/SVWeb/index.html</a>, I do get the page back. While undertow does not know about this host, how is it that I get the content
back?</div>
<div class="">The Host header in the HTTP request is indeed -</div>
<div class="">Host: “<a href="http://acme.example.com" class="">acme.example.com</a>:8080"</div>
<div class=""><br class="">
</div>
<div class="">Should I use any filters or access control to let Undertow know not serve unknown hosts?</div>
<div class=""><br class="">
</div>
<div class="">
<div apple-content-edited="true" class="">
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; " class="">
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; " class="">
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; " class="">
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; " class="">
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; " class="">
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; " class="">
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; " class="">
<div style="orphans: 2; text-align: -webkit-auto; text-indent: 0px; widows: 2; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; " class="">
<div style="orphans: 2; text-align: -webkit-auto; text-indent: 0px; widows: 2; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; " class="">
<div style="margin: 0px; font-size: 12px; " class="">
<div apple-content-edited="true" style=" " class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; " class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; " class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; " class="">
<div style="margin: 0px; font-size: 12px; " class="">Thanks and Best Regards,</div>
<div style="margin: 0px; font-size: 12px; " class="">GPN</div>
<div style="margin: 0px; font-size: 12px; " class=""><br class="">
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>