title: MAMP virtual hosts not working when connected to home network
body: <p>I have virtual hosts setup on my laptop, which I know work fine as I use them often for work and school, but for whatever reason when I'm at my parents house connected to their home network I get 404'd. If I disconnect form the network I get servered the page fine by Apache. Here is my httpd.conf file contents (only the portion dealing with virtual hosts):</p>
  
  <pre><code>NameVirtualHost *
  &lt;VirtualHost *&gt;
      DocumentRoot "/Applications/MAMP/htdocs"
      ServerName localhost
  &lt;/VirtualHost&gt;
  
  &lt;VirtualHost *&gt;
      DocumentRoot "/Users/kyle/Sites/ESA/app/public"
      ServerName esa.loc
      &lt;Directory "/Users/kyle/Sites/ESA/app/public"&gt;
          Options Indexes FollowSymLinks
          AllowOverride all
          Order Deny,Allow
          Allow from all
          Allow from 127.0.0.1
      &lt;/Directory&gt;
  &lt;/VirtualHost&gt;
  
  &lt;VirtualHost *&gt;
      DocumentRoot "/Users/kyle/Sites/portfolio-site/public"
      ServerName kyle.loc
      &lt;Directory "/Users/kyle/Sites/portfolio-site/public"&gt;
          Options Indexes FollowSymLinks
          AllowOverride all
          Order Deny,Allow
          Allow from all
          Allow from 127.0.0.1
      &lt;/Directory&gt;
  &lt;/VirtualHost&gt;
  </code></pre>
  
  <p>and my /etc/hosts file:</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 esa.loc kyle.loc
  255.255.255.255 broadcasthost
  ::1             localhost esa.loc kyle.loc
  fe80::1%lo0     localhost esa.loc kyle.loc
  </code></pre>
  
  <p>If you need anymore information let me know and I'll do my best to provide it. Thanks.</p>
  
  <p>EDIT: Forgot to mention that I tried adding my laptop to the DMZ on the router but that didn't fix the issue.</p>