title: Laravel - created virtual host, however website will not connect to localhost
body: <p>I am desperate for help. I am new to mac and Laravel. I have just installed a fresh project and Laravel and i am trying to create the virtual host, my code: </p>
  
  <p>httpd-vhosts.conf</p>
  
  <pre><code>&lt;VirtualHost *:80&gt;
  DocumentRoot “/Applications/XAMPP/htdocs”
  ServerName localhost
  &lt;/VirtualHost&gt;
  
  &lt;VirtualHost *:80&gt;
  DocumentRoot “/Applications/XAMPP/htdocs/learninghub/public”
  ServerName learninghub.local
  &lt;/VirtualHost&gt;
  </code></pre>
  
  <p>hosts </p>
  
  <pre><code>##
  # Host Database
  #
  # localhost is used to configure the loopback interface
  # when the system is booting.  Do not change this entry.
  ##
  127.0.0.1   localhost
  127.0.0.1   learninghub.local
  </code></pre>
  
  <p>Getting the following error - </p>
  
  <blockquote>
    <p>Object not found! The requested URL was not found on this server. If
    you entered the URL manually please check your spelling and try again.</p>
    
    <p>If you think this is a server error, please contact the webmaster.</p>
    
    <p>Error 404 localhost Apache/2.4.41 (Unix) OpenSSL/1.1.1c PHP/7.3.9
    mod_perl/2.0.8-dev Perl/v5.16.3</p>
  </blockquote>
  
  <p>Any help is greatly appreciated. </p>
  
  <p>Referring to homebrew</p>
  
  <blockquote>
    <p>Error: Failure while executing; <code>git clone
    https://github.com/Homebrew/homebrew-core
    /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core</code> exited with
    128.</p>
  </blockquote>