Just made a fresh install of Apache2 on my Ubuntu, made some changes and trying to restart it
$ sudo servie apache2 restart
Returned this:
* 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
To fix it you need to edit the httpd.conf file.
$ sudo gedit /etc/apache2/httpd.conf
The file will be blank, no problem, this is default. Add this:
ServerName localhost
And now restart Apache
$ sudo service apache2 restart
Problem solved.
Adios!
No comments:
Post a Comment