Virtual Hosts 404 Error

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Virtual Hosts 404 Error

Postby MatthewJohnSymons » 14. May 2016 09:42

Using XAMPP to create a virtual host so that my project files are kept locally. Edited the vhosts.conf file as suggested by various sources:

Code: Select all
NameVirtualHost 127.0.0.1:8012

<VirtualHost 127.0.0.1:8012>
  DocumentRoot "C:/xampp/htdocs"
  ServerName localhost
</VirtualHost>

<VirtualHost 127.0.0.1:8012>
    DocumentRoot "C:/Shares/VAS/VAS PHP System"
    ServerName vaslive.local

   <Directory "C:/Shares/VAS/VAS PHP System">
    Options All
    AllowOverride All
    Require all Granted
   </Directory>
</VirtualHost>

My XAMPP port is set to 8012 - works fine on the default local host. Any idea why I get error 404?

Using Windows Server 2012 R2. Hosts file also amended as required.
MatthewJohnSymons
 
Posts: 1
Joined: 14. May 2016 09:38
XAMPP version: 3.2.2
Operating System: Windows Server 2012 R2

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 82 guests