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
The issue is on /etc/apache2/sites-enabled
000-default file.
Apache2 is pointing to var/www/html
and vagrant example to var/www
just remove de /html and make a sudo service apache2 restart
.