반응형
Apache HTTP Server에서 ServerName 지시어 설정 오류
Apache 경고 해결 — Could not reliably determine the server's fully qualified domain name
[root@ns1 src]$ apachectl start
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
Apache가 서버의 FQDN(Fully Qualified Domain Name) 을 찾을 수 없을 때 출력하는 경고입니다.
해결 방법
sudo vim /etc/httpd/conf/httpd.conf
아래 부분을 찾아서 수정
#ServerName www.example.com:80
수정 후
ServerName 127.0.0.1:80
- 또는 실제 도메인
ServerName scbyun.com:80
Apache 재시작
sudo systemctl restart httpd
728x90
반응형
'리눅스' 카테고리의 다른 글
split 명령어 (0) | 2013.07.12 |
---|---|
PHP 빌드 에러 (0) | 2013.07.11 |
SSH 키 생성, 서버 등록 및 접속하는 방법 (0) | 2013.07.11 |
리눅스 mkpasswd 명령어 (0) | 2013.07.11 |
CentOS 4에서 Oracle Database 9i를 설치하고 구성하는 방법 (2) | 2013.07.10 |