title: Localhost 's subdomain with port numbers, how to?
body: <p>We know that to add a subdomain for localhost, we open and edit the host file by adding lines such as:</p>
  
  <pre><code>127.0.0.1  localhost
  127.0.0.1  abc.localhost
  127.0.0.1  xyz.localhost
  </code></pre>
  
  <p>My problem is that: if I browse <strong>abc.localhost:88</strong> I get the below error:</p>
  
  <blockquote>
  <pre><code>Bad Request - Invalid Hostname
  HTTP Error 400. The request hostname is invalid.
  </code></pre>
  </blockquote>
  
  <p>Why doesn't the URL <strong>abc.localhost:88</strong> browse to 127.0.0.1:88 ? </p>
  
  <p>Please help.</p>