
我有 Ubuntu 14.04 並且安裝了 apache2,但問題是當我訪問我的 IP 作為網站以查看 Web 檔案時,它說無法連接。
如果我嘗試在 SSH 中重新啟動 apache,我會收到此錯誤;
~# /etc/init.d/apache2 restart
* Restarting web server apache2
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using (IP address of my server here).
Set the 'ServerName' directive globally to suppress this message
編輯:這是使用者建議的錯誤日誌
有人知道解決方案嗎?
答案1
網路伺服器的配置沒有任何問題。相反,這是用戶錯誤 - 我試圖訪問https://
而不是http://
.