title: Using the '.localhost' TLD searches in browsers instead of showing the site associated with the address
body: <p>According to <a href="https://www.rfc-editor.org/rfc/rfc2606" rel="nofollow noreferrer">RFC 2606 (1999)</a> the TLD <em>.localhost</em> is reserved for use for testing locally.</p>
  <p>The goal is to configure a preview site to run locally using the TLD .localhost, e.g. <a href="http://example.localhost" rel="nofollow noreferrer">http://example.localhost</a></p>
  <p>The problem is that when I use Chrome or Safari to access a '.localhost' TLD it searches google for example.localhost instead of treating it as a proper address. This is after configuring the <em>hosts</em> file to point back to <code>127.0.0.1</code>.</p>
  <p>Am I misunderstanding the usage of this reserved TLD? Is there a way to configure this to work properly?</p>