공부하자/PHP

AH00558: apache2: Could not reliably determine the server's fully qualified domain name

YoBot 2018. 12. 6. 14:44

AH00558: apache2: Could not reliably determine the server's fully qualified domain name 에러 해결하기


문제의 에러

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



해당 문제 해결하기

$sudo echo "ServerName $(cat /etc/hostname)" >> /etc/apache2/apache2.conf


문제 해결


아파치 재시작

$sudo service apache2 restart