Friday, August 23, 2013
3:55 PM

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 :)

0 comments:

Post a Comment

:) :)) ;(( :-) =)) ;( ;-( :d :-d @-) :p :o :>) (o) [-( :-? (p) :-s (m) 8-) :-t :-b b-( :-# =p~ $-) (b) (f) x-) (k) (h) (c) cheer
Click to see the code!
To insert emoticon you must added at least one space before the code.