Trouble with Vagrant - "404 - Not Found"

Trouble with Vagrant - 404 - Not Found

I had same problem. I tried to restart apache from the vagrant box, I got following warning on my terminal.

vagrant@vagrant-ubuntu-trusty-64:~$ sudo service apache2 restart
* Restarting web server apache2

AH00112: Warning: DocumentRoot [/var/www/html] does not exist
AH00558: apache2: Could not reliably determine the server's fully qualified
domain name, using 10.0.2.15. Set the 'ServerName' directive globally to suppress this message

Create a DocumentRoot to fix the 404 issue by creating a directory called /var/www/html

404 Not found error when tring to access local.wordpress.dev

Finally, I resolved the issue that I reported.

Windows users must use vagrant up --provision and this solved the issue. Ensure to run the command prompt as Administrator.

Similar issue was reported in GitHub and resolved this way.

Update: If you have WampServer or Xampp installed, un-install it before installing VVV.



Related Topics



Leave a reply



Submit