apache2: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
Mungkin anda pernah menemui error ketika anda menginstall apache 2 di box linux anda, error nya seperti ini :
apache2: Could not determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName
Untuk mengatasi masalah ini anda tinggal menambahkan baris NameServer di httpd.conf
sudo vi /etc/apache2/httpd.conf
Kurang lebi isinya seperti ini
# ServerName is to be specified to avoid warning during reload
ServerName serverku
Setelah itu anda coba restart apache untuk lihat hasilnya.
/etc/init.d/apache2 restart
* Forcing reload of apache 2.0 web server… [ ok ]
Kalau sudah keluar tulisan seperti di atas berarti sudah oke.![]()
Categories: Tips & Trick
Recent Comments