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


Bila kamu sedang ada masalah dengan web server apache, khususnya yang menampilkan error message :

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


Padahal udah dicoba mengedit file /etc/apache2/httpd.conf seperti yang udah dijelaskan disini, cobalah tips yang satu ini.

 

Semoga dengan script ini kamu bisa mengatasi error message diatas.

sudo sh -c 'echo "ServerName localhost" >> /etc/apache2/conf.d/name' && sudo service apache2 restart

Selamat mencoba :)

Monetize your website traffic with US
Monetize your website traffic with Me


0 Response to "apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName"

Post a Comment

Ads

Archive

Populer

Label