I want to create a virtualhost using vagrant, but when I create it and use the command to restart apache i get the following error:
Restarting web server apache2 AH00558: apache2: Could not reliably determine the server's fully qualified domain name Set the 'ServerName' directive globally to suppress this message
Insert ServerName localhost
in either httpd.conf
or apache2.conf
in /etc/apache2
folder and restart apache.