title: Apache virtual host always redirecting to /dashboard
body: <p>I'm having what appears to be a common problem but any solutions I've found don't seem to work for my case.</p>
  <p>I'm trying to set up a virtual host so that I can access the public file of my Laravel installation by going to &quot;mytestdomain.local&quot; but when I type this address into google chrome I am always redirected to the xampp dashboard at this address &quot;https://mytestdomain.local/dashboard/&quot;.</p>
  <p>I've installed Laravel in the following xampp directory: c:/xampp/htdocs/mytestdomain_uk.</p>
  <p>I have &quot;C:\xampp\apache\conf\extra\httpd-vhosts.conf&quot; set up as follows:</p>
  <pre><code>&lt;VirtualHost *:80&gt;
      DocumentRoot &quot;C:/xampp/htdocs&quot;
      ServerName localhost
  &lt;/VirtualHost&gt;
  
  &lt;VirtualHost *:80&gt;
      DocumentRoot &quot;C:/xampp/htdocs/mytestdomain_uk/public&quot;
      ServerName mytestdomain.local
  &lt;/VirtualHost&gt;
  </code></pre>
  <p>And I have &quot;C:\Windows\System32\drivers\etc\hosts&quot; set up as follows:</p>
  <pre><code>127.0.0.1   localhost
  127.0.0.1   mytestdomain.local
  </code></pre>
  <p>If anyone could offer any insight into this issue I would be very grateful.</p>