[우분투] AH00558: apache2: Could not reliably .. server’s fully qualified domain name , using 127.0.1.1. Set
우분투 서버에서 APM까지 설치 후 서버에서 apache2ctl -t 무결성 및 apache2ctl graceful 명령어 입력 중 server’s fully qualified domain name 오류 메시지를 확인할 수 있습니다.
apache2ctl -t # apache2ctl graceful
AH00558: apache2: 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
Syntax OK✅ qualified domain name 경고 메시지
![[우분투] AH00558: apache2: Could not reliably .. server's fully qualified domain name , using 127.0.1.1. Set 1 qualified domain name 경고 메시지](https://uknew.co/wp-content/uploads/2025/05/qualified-domain-name-%EA%B2%BD%EA%B3%A0-%EB%A9%94%EC%8B%9C%EC%A7%80-1024x43.png)
오류가 아닌 경고 메시지로, etc/apache2/apache2.conf 파일에 SeverName에 도메인 주소 또는 다음과 같은 설정을 진행하여 경고 메시지가 뜨는 것을 제거할 수 있습니다.
vi /etc/apache2/apache2.conf
ServerName localhost # 또는 127.0.0.1
apache2ctl -t
Syntax OK
apache2ctl graceful여러 도메인을 사용할 경우 전역 설정(/etc/apache2/apache2.conf 등)에 ServerName을 지정해 두면 Apache의 경고 메시지를 방지하고 전체 동작의 안정성을 높이는 데 도움이 됩니다.
일반적으로 ServerName localhost 또는 서버의 기본 도메인을 사용하는 것이 좋습니다.
✅ 참조
ℹ️ 제휴 안내
본 사이트의 콘텐츠에는 제휴 링크가 포함되어 있습니다. 방문자가 이 링크를 통해 상품 또는 서비스를 구매하면 본 사이트는 판매처로부터 수수료를 지급받습니다. 이 과정에서 구매자가 지불하는 금액(이벤트 할인 시 금액이 내려갑니다↓)은 오르지 않습니다. 게시된 가격·할인·재고 정보는 작성 시점 기준이며 실제와 다를 수 있으므로, 구매 전 판매처에서 최종 확인하시기 바랍니다. 상품 선정과 평가는 자체 기준에 따라 작성되며, 수수료 지급 여부가 소개 순서나 평가 내용에 영향을 주지 않습니다.