Error ServerName apache not start on Ubuntu Server

 

Error : apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.0.1. Set the ‘ServerName’ directive globally to suppress this message

 

วิธีแก้ไข โดยการ

  1. nano /etc/apache2/apache2.conf
  2. เพิ่ม  ServerName localhost และเซฟ
  3. /etc/init.d/apache2 restart

 

อ้างอิง : https://askubuntu.com/questions/256013/apache-error-could-not-reliably-determine-the-servers-fully-qualified-domain-n