Back-end/Server

[Apache] AH00558 : Could not reliable determine the server’s fully qualified domain name ν•΄κ²°ν•˜λŠ” 방법

one2ye 2022. 5. 11. 19:48
728x90
λ°˜μ‘ν˜•

🟑 μ•„νŒŒμΉ˜(Apache) μ›Ή μ„œλ²„(Web Server) 'AH00558 : Could not reliable determine the server’s fully qualified domain name' ν•΄κ²°ν•˜κΈ°

❀️ OS : Rocky Linux 

βœ… 상황

μ•„νŒŒμΉ˜ μ›Ή μ„œλ²„λ₯Ό λ‹€μš΄ λ°›μ•„μ„œ μ‹€ν–‰ν–ˆλŠ”λ° μ •μƒμ μœΌλ‘œ μ›Ή νŽ˜μ΄μ§€κ°€ λ™μž‘ν•˜μ§€ μ•Šμ•„μ„œ log νŒŒμΌμ„ μ‚΄νŽ΄λ³΄μ•˜λ‹€.

cd /etc/httpd/logs

=> μœ„ 경둜둜 μ΄λ™ν•˜κΈ°

vi error_log

=> μœ„ 파일둜 접속

 

μœ„μ™€ 같은 λ‘œκ·Έκ°€ μ°ν˜€μžˆλŠ” 것을 확인할 수 μžˆμ—ˆλ‹€!

 

 

 

βœ… ν•΄κ²°λ°©λ²•

httpd.conf 파일 μ„€μ • λ³€κ²½
cd /etc/httpd/conf

=> μœ„ 경둜둜 μ΄λ™ν•˜κΈ°

vi httpd.conf

=> μœ„ 파일 쀑 ServerName 뢀뢄을 주석 ν•΄μ œν•˜κΈ° or 직접 μž…λ ₯

 

localhost 및 μžμ‹ μ˜ IP μ£Όμ†Œλ₯Ό μž…λ ₯ν•΄μ£ΌκΈ°

 

 

=> 섀정을 μ €μž₯ν•˜κ³  μž¬μ‹€ν–‰ν•œλ‹€λ©΄ μ •μƒμ μœΌλ‘œ μ ‘μ†λ˜λŠ” 것을 확인할 수 μžˆλ‹€!

 

 

 

 

 

 

 

728x90
λ°˜μ‘ν˜•