全幅廣告

2008年8月7日 星期四

"apache2: Could not reliably determine the server's fully qualified domain name"的解法

之前不知道從什麼時候開始,apache2每次啟動都會出現下面的錯誤訊息:
apache2: Could not reliably determine the server's fully qualified domain name,using xxx.xxx.xxx.xx for ServerName
由於網站還能正常運作,所以就不管它了,
剛剛又在我的email當中發現系統發出的警告信…很煩耶,每次出現錯誤訊息就發一次,實在是煩死人了,
於是就打開了/etc/apache2/apache2.conf,
在裡面加入了一行:
ServerName www.OOXX.edu.tw
再重新apache2ctl restart 看看,果然沒有再出現錯誤訊息囉^^

沒有留言:

張貼留言