Googleando un poquito:
Cita: En algunos casos podemos obtener un error del tipo:
Forcing reload of web server (apache2)...apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
Entonces debemos editar el fichero /etc/apache2/apache2.conf y añadir al final la línea:
ServerName localhost
Volvemos a hacer # /etc/init.d/apache2 restart
y debería funcionar.
En lugar del vim, puedes usar nano, para editar el archivo, es mas sencillo de usar