title: Mac local (.dev) sites redirecting from http to https
body: <p>I have MAMP installed on my mac. Entry on host file <strong>/etc/hosts</strong>.</p>
  
  <blockquote>
    <p>127.0.0.1       mysite.dev</p>
  </blockquote>
  
  <p>I also enabled virtual hosts in httpd.cofig file. </p>
  
  <pre><code># Virtual hosts
  Include /Applications/MAMP/conf/apache/extra/httpd-vhosts.conf
  </code></pre>
  
  <p>My virtual host file is also correctly configured. This is what I have in <strong>https.vhosts.conf</strong></p>
  
  <pre><code>&lt;VirtualHost *:80&gt;
    DocumentRoot "/Applications/MAMP/htdocs/mysite"
    ServerName wiki.dev
  &lt;/VirtualHost&gt;
  </code></pre>
  
  <p>When I try to open <a href="http://mysite.dev" rel="nofollow noreferrer">http://mysite.dev</a> using browser, the site is redirected to <a href="https://mysite.dev" rel="nofollow noreferrer">https://mysite.dev</a></p>
  
  <p>Can someone help me with this?</p>