apache2 restart warning message

/etc/init.d/apache2 restart

Message:


Could not reliably determine the server's fully qualified domain name, using ::1 for ServerName

How can i get rid of that message?

On Fri, 08 Apr 2011 14:06:02 +0530, colao
<colao@no-mx.forums.opensuse.org> wrote:

>
> Code:
> --------------------
> /etc/init.d/apache2 restart
> --------------------
>
> Message:
>
> Code:
> --------------------
> Could not reliably determine the server’s fully qualified domain name,
> using ::1 for ServerName
> --------------------
>
> How can i get rid of that message?
>

edit /etc/apache2/httpd.conf, assigning your machine’s hostname to the
“ServerName” variable.


phani.

I could not find any ServerName in http.conf.

I think you will have to create it in httpd.conf

This can be done from Yast, HTTP-server. You probably did not enter any hostnames/IP addresses. I always enter 127.0.0.1 for a start, that way I can at least check if things work locally.

Edit: The ServerName is entered in default-server.conf, not in httpd.conf

As I can see here

Could not reliably determine the server's fully qualified domain name, using ::1 for ServerName

Maybe the problem based on URL of DNS server. Maybe he must check his internet/connection settings in Yast.

No, that’s not the case. It’s not the internet connection, it’s the apache webserver that’s throwing this error on a local accessed webserver. Should work even without a networkconnection.

So no fault in connection only server’s problem.