๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ

Back-end/Server

[Apache] AH00558 : Could not reliable determine the server’s fully qualified domain name ํ•ด๊ฒฐํ•˜๋Š” ๋ฐฉ๋ฒ•

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
๋ฐ˜์‘ํ˜•