Weblog entry #7 for HWilton
It all started because i noticed this message when shutting down :
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
the webserver was running fine, there was nothing to worry about, but it was annoying - so i start searching for a fix.
Unfortunately couldnt find any ... the google search returned many entries for this error - and was confusing even more.
Until i found the most stupid fix there is :
sudo vi /etc/apache2/httpd.conf
and I just added at the end of the file
ServerName localhost
And that was it !
Comments on this Entry
That'll fix it, but even better is to make sure that, by some method, your /etc/hostname contains a correctly resolvable hostname. Properly working DHCP should do it, as would a static IP and an /etc/hosts entry.
Cheers.:wq
[ Parent | Reply to this comment ]
thanks
[ Parent | Reply to this comment ]