title: Virtual Host ERR_NAME_NOT_RESOLVED
body: <p>I'm trying to set up a VirtualHost for laravel in apache on XAMPP.
  I can access through Firefox, but if I type www.laravel.dev on Chrome I get this error "ERR_NAME_NOT_RESOLVED". Then, I tried to set it as "www.laravel.local" but it doesn't work either.</p>
  
  <p>I followed this answer <a href="https://stackoverflow.com/questions/30477552/google-chrome-virtual-hosts-not-working-with-err-name-not-resolved-error-after-u">Google Chrome virtual hosts not working with ERR_NAME_NOT_RESOLVED error after update</a> and when I flush it keeps on saying:</p>
  
  <blockquote>
    <p>www.laravel.local IPV4    error: -105 (ERR_NAME_NOT_RESOLVED) 2015-06-23
    16:53:09.090 [Expired]</p>
  </blockquote>
  
  <p>This is my httpd-vhosts.conf:</p>
  
  <pre><code>&lt;VirtualHost *:80&gt;
     DocumentRoot "C:/xampp/htdocs/laravel/public/"
     ServerName laravel.local
     ServerAlias www.laravel.local
  &lt;/VirtualHost&gt;
  </code></pre>
  
  <p>And the /etc/hosts</p>
  
  <pre><code>127.0.0.1 localhost
  127.0.0.1 www.laravel.local
  </code></pre>
  
  <p>Thank you for your time.</p>