localhost problem!

hello guys,

this morning when I start my pc (gentoo) I get some strange errors about localhost.

"Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName" ... Apache

the same for my aplications, I have to use the full address of my pc instead of localhost...

what's going on??
any idea?

thanks in advance
george

I've seen this error on one of my test applications, on the next restart usually it's ok.
Take a look at the server logs, verify that you haven't changed /etc/resolv.conf and other DNS related file, like /etc/hostname and possibly restart apache.
Also, make sure that you've specified correctly "ServerName" directive in httpd.conf.