Pages

Rabu, 19 November 2014

[solved] ubuntu 10.04 apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName

root@server1-desktop:/var/www# /etc/init.d/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
                                                                         [ OK ]
root@server1-desktop:/var/www#


SOLUTION
add Server Name in the " /etc/apache2/apache2.conf" by type :

root@server1-desktop:/var/www# gedit /etc/apache2/apache2.conf
ServerName localhost

then save

root@server1-desktop:/var/www# /etc/init.d/apache2 restart
 * Restarting web server apache2                                                 ... waiting                                                             [ OK ]
root@server1-desktop:/var/www#