jueves, 2 de febrero de 2012

apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.0.1 for ServerName

Al configurar Apache2 me presento este molesto mensaje:

Could not reliably determine the server’s fully qualified domain name, using 127.0.0.1 for ServerName.

Todo funcionaba bien, pero me jodia el dichoso mensajito.

Editamos el archivo /etc/apache2/apache2.conf

vim /etc/apache2/apache2.conf

Nos vamos al final del documento y agregamos la siguiente linea

ServerName tu_servidor

Ahora reiniciamos el servicio apache y voila!!

sudo /etc/init.d/apache2 restart

Continúa...