Apache pada Ubuntu Error: Could not reliably determine the server’s fully qualified domain name

Jika anda ketemu error Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1. Set the ‘ServerName’ directive globally to suppress this message ketika restart apache2 pada ubuntu jangan panik, cara untuk memperbaiki-nya sangat mudah. Anda perlu menambahkan kode dibawah ini:

ServerName localhost

Kode diatas disisip pada file apache2.conf di folder /etc/apache2/.

sudo nano /etc/apache2/apache2.conf

Jika selesai, jangan lupa restart ya

Leave a Reply

Your email address will not be published. Required fields are marked *

%d bloggers like this: