title: How can I access multiple XAMPP/Apache virtual hosts from another computer on the network without modifying their "hosts" file?
body: <p>Currently, what I have is 3 functional virtual hosts in my vhosts.conf file. They are of the following form:</p>
  
  <pre><code>&lt;VirtualHost *:80&gt;
      ServerAdmin webmaster@localhost
      DocumentRoot "C:/xampp/htdocs/AFNet"
      ServerName localhost
      ErrorLog "logs/localhost-error.log"
      CustomLog "logs/localhost-access.log" common
      &lt;Directory "C:/xampp/htdocs/AFNet"&gt;
          Require all granted
          AllowOverride All
          Options Indexes FollowSymLinks
      &lt;/Directory&gt;
  &lt;/VirtualHost&gt;
  </code></pre>
  
  <p>but the following 2 have the VirtualHost set to 81 and 82, like so:</p>
  
  <pre><code>&lt;VirtualHost *:81&gt;
  &lt;VirtualHost *:82&gt;
  </code></pre>
  
  <p>My "hosts" file:</p>
  
  <pre><code>127.0.0.1       localhost
  127.0.0.1       processbooks
  127.0.0.1       cmm
  </code></pre>
  
  <p>And then I set my httpd.conf to "listen" to 80, 81, and 82.</p>
  
  <p>Then, in my index.html file located in my htdocs folder, I have a link to each of the following:</p>
  
  <pre><code>http://127.0.0.1:81
  http://127.0.0.1:82
  </code></pre>
  
  <p>This works like a charm locally, but on another computer, I can only access the index.html and not the pages it links to. How can I direct this correctly?</p>