title: Laravel subdomain routing is not working
body: <p>I'm trying to have an admin subdomain (<a href="https://laravel.com/docs/5.1/routing#route-group-sub-domain-routing" rel="noreferrer">like this</a>)</p>
  
  <pre><code>Route::group(['domain' =&gt; 'admin.localhost'], function () {
      Route::get('/', function () {
          return view('welcome');
      });
  });
  </code></pre>
  
  <p>but <a href="http://admin.localhost" rel="noreferrer">admin.localhost</a> acts just like <a href="http://localhost" rel="noreferrer">localhost</a>.
  How I'm supposed to do this correctly?</p>
  
  <p><em>I'm using Laravel 5.1 and MAMP on OSX</em></p>