Fix Apache Could not reliably determine…
7 months, 2 weeks ago
0
Posted in: Programování
If you suffer with following message when restarting Apache, the solution is following:
* Restarting web server apache2
apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName
… waiting apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName
sudo nano /etc/apache2/httpd.conf
and add the line
ServerName localhost
After that you can do following without warning.
sudo /etc/init.d/apache2 restart
This entry was posted on Sobota, Červenec 9th, 2011 at 20.00
You can follow any responses to this entry through the RSS 2.0 feed.
