August 27, 2010

Solving "Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName" in Ubuntu 10.04

All of a sudden, I wasn't able to open localhost on my browser, and I realized I wasn't able to restart Apache2.

varsha@varsha-laptop:~$ sudo /etc/init.d/apache2 restart
* Restarting web server apache2
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName


I found a simple solution, as given on http://mohamedaslam.com/how-to-fix-apache-could-not-reliably-determine-the-servers-fully-qualified-domain-name-using-127011-for-servername-error-on-ubuntu/.

Helped a lot!



No comments:

Post a Comment