httpd2-prefork: ... no fully qualified domain name

Can someone help me diagnose this message when I restart apache2?

Starting httpd2 (prefork) httpd2-prefork: Could not reliably determine the server’s fully qualified domain name, using 127.0.0.1 for ServerName

I am using SuSE 11.0 and I’m on a LAN where there is no domain I know of. I don’t think there is a fully qualified domain name to be had here.

The following info may be useful.

/etc/hosts
127.0.0.1 localhost loopback www.dci.site
127.0.0.2 localhost.aif.com fogelfish

aif.com” is not a real domain, but I didn’t know what was needed next to 127.0.0.2. “www.dci.site” is a virtual host for local testing of a website I’m working on.

And the contents of the only file included in httpd.conf in the “/etc/apache2/vhosts.d/*.conf” path.

NameVirtualHost *:80

<VirtualHost *:80>
DocumentRoot /srv/www/htdocs/dci
ServerName dci
ServerAlias dci.site, *.dci.site

HostnameLookups Off
UseCanonicalName Off
ServerSignature On

</VirtualHost>

<VirtualHost *:80>
DocumentRoot /srv/www/htdocs
ServerName localhost

HostnameLookups Off
UseCanonicalName Off
ServerSignature On

</VirtualHost>

127.0.0.1 localhost loopback www.dci.site

If you have a FQDN you should name it first in /etc/host lines, i.e.

127.0.0.1 www.dci.site localhost loopback

See if that helps.

That helps for sure. Thanks!