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


Jika mengalami error “apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName” saat melakukan restart atau  force-reload seperti ini:

 

Hal yang harus dilakukan adalah :

1. Edit file /etc/apache2/httpd.conf

sudo vi /etc/apache2/httpd.conf

Tambahkan baris berikut pada file tersebut:

ServerName localhost

Simpan dan keluar.

2. Restart service apache dengan perintah berikut:

sudo /etc/init.d/apache2 force-reload

Iklan
  1. No trackbacks yet.

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s

%d blogger menyukai ini: