
Ubuntu 14.04 を使用しており、apache2 をインストールしていますが、Web ファイルを表示するためにサイトとして自分の IP にアクセスすると、接続できないという問題があります。
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
Web サーバーの設定に問題はありませんでした。ユーザー エラーでした。 ではなくhttps://
にアクセスしようとしていましたhttp://
。