jueves, 24 de mayo de 2012

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

En Ubuntu me encontré con el siguiente mensaje:

servidor@ubuntu:~$ sudo /etc/init.d/apache2 reload
* Reloading web server config apache2                                                                                                                 apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName


despues de buscar un poco, una solucion para este problema es edita el archivo httpd.conf e incluir la linea ServerName localhost, a continuación el código:

#servidor@ubuntu:~$ sudo vim /etc/apache2/httpd.conf

incluir la lineaServerName localhost
 
A continuación reiniciar el servicio con  

#servidor@ubuntu:~$ sudo /etc/init.d/apache2 reload

0 comentarios: