reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName


sudo service apache2 restart

 * Restarting web server apache2                                                                                                                                                   apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
 ... waiting apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName


Para solucionarlo debemos dependiendo de la distribución localizar el fichero “httpd.conf” o “apache2.conf” en la ruta “/etc/apache2”

Ahora tan solo lo abrimos para editarlo con permisos suficientes para guardarlo

$ sudo vim httpd.conf

e incluimos al final del fichero la siguiente linea

ServerName   localhost