<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="">&nbsp; &nbsp; &nbsp; &nbsp; &lt;subsystem xmlns=&quot;urn:jboss:domain:undertow:1.2&quot;&gt;</font></div>
<div class=""><font face="Courier New" class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;buffer-cache name=&quot;default&quot;/&gt;</font></div>
<div class=""><font face="Courier New" class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;server name=&quot;default-server&quot;&gt;</font></div>
<div class=""><font face="Courier New" class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;http-listener name=&quot;default&quot; socket-binding=&quot;http&quot;/&gt;</font></div>
<div class=""><font face="Courier New" class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;host name=&quot;default-host&quot; alias=&quot;localhost&quot;&gt;</font></div>
<div class=""><font face="Courier New" class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;location name=&quot;/&quot; handler=&quot;welcome-content&quot;/&gt;</font></div>
<div class=""><font face="Courier New" class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;filter-ref name=&quot;server-header&quot;/&gt;</font></div>
<div class=""><font face="Courier New" class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;filter-ref name=&quot;x-powered-by-header&quot;/&gt;</font></div>
<div class=""><font face="Courier New" class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/host&gt;</font></div>
<div class=""><font face="Courier New" class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/server&gt;</font></div>
<div class=""><font face="Courier New" class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;servlet-container name=&quot;default&quot;&gt;</font></div>
<div class=""><font face="Courier New" class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;jsp-config/&gt;</font></div>
<div class=""><font face="Courier New" class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;websockets/&gt;</font></div>
<div class=""><font face="Courier New" class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/servlet-container&gt;</font></div>
<div class=""><font face="Courier New" class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;handlers&gt;</font></div>
<div class=""><font face="Courier New" class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;file name=&quot;welcome-content&quot; path=&quot;${jboss.home.dir}/welcome-content&quot;/&gt;</font></div>
<div class=""><font face="Courier New" class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/handlers&gt;</font></div>
<div class=""><font face="Courier New" class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;filters&gt;</font></div>
<div class=""><font face="Courier New" class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;response-header name=&quot;server-header&quot; header-name=&quot;Server&quot; header-value=&quot;WildFly/8&quot;/&gt;</font></div>
<div class=""><font face="Courier New" class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;response-header name=&quot;x-powered-by-header&quot; header-name=&quot;X-Powered-By&quot; header-value=&quot;Undertow/1&quot;/&gt;</font></div>
<div class=""><font face="Courier New" class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/filters&gt;</font></div>
<div class=""><font face="Courier New" class="">&nbsp; &nbsp; &nbsp; &nbsp; &lt;/subsystem&gt;</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&nbsp;<a href="http://acme.example.com" class="">acme.example.com</a>&nbsp;to the IP Address of the Wildfly Server/Host.</div>
<div class=""><br class="">
</div>
<div class="">When I try to fetch a page&nbsp;<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&quot;</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>