Solve Problem AH00558 When Restarting Apache2
Solve Problem AH00558 When Restarting Apache2
Im trying to restart apache2 using this command:
sudo service apache2 restart
or
sudo /etc/init.d/apache2 restart
But get below error:
AH00558: apache2: Could not reliably determine the servers fully qualified domain name, using 127.0.1.1.
So, how to fix this problem?
Edit file apache2.conf from directory /etc/apache2/ by use this following command:
nano /etc/apache2/apache2.conf
Add the following syntax in the last row of apache2.conf file:
ServerName localhost
So that error doesnt disappear.
download file now
Comments
Post a Comment