Hi fellas!
Don't know why but even with the httdp.conf file configured I was still receiving the error: "Could not realiably...", checked the /etc/hosts and everything was OK.
The solution is pretty simple, just rename the http.conf to fqdn and move it to the conf.d folder
Problem solved.
Adios!
Showing posts with label apache. Show all posts
Showing posts with label apache. Show all posts
Friday, November 2, 2012
Friday, October 26, 2012
How to fix Apache – "Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName"
Hi fellas!
Just made a fresh install of Apache2 on my Ubuntu, made some changes and trying to restart it
Returned this:
To fix it you need to edit the httpd.conf file.
The file will be blank, no problem, this is default. Add this:
And now restart Apache
Problem solved.
Adios!
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!
Subscribe to:
Posts (Atom)