質問するログイン新規登録

質問編集履歴

2

修正

2017/12/24 16:33

投稿

退会済みユーザー
title CHANGED
File without changes
body CHANGED
@@ -15,8 +15,10 @@
15
15
 
16
16
  ###追記
17
17
  apache2.confで下記エラーが出ました。
18
+ ※8080はdefault側のポートなので書かず、コンテナの80ポートで設定しました。
18
19
 
19
20
  ```
21
+ NameVirtualHost *:80
20
22
  <VirtualHost *:80>
21
23
  DocumentRoot /www/example2
22
24
  ServerName www.example.org
@@ -25,5 +27,6 @@
25
27
 
26
28
  ```
27
29
  AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/apache2/apache2.conf:178
28
- AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.〇〇.〇.2. Set the 'ServerName' directive globally to suppress this message
30
+ AH00558: apache2: Could not reliably determine the server's fully qualified domain name,
31
+ using 172.〇〇.〇.2. Set the 'ServerName' directive globally to suppress this message
29
32
  ```

1

追記

2017/12/24 16:33

投稿

退会済みユーザー
title CHANGED
File without changes
body CHANGED
@@ -11,4 +11,19 @@
11
11
  にアクセスすると、apahce2のページは表示されます。
12
12
  ご教授のほどお願い致します。
13
13
  ###補足情報(言語/FW/ツール等のバージョンなど)
14
- ubuntu, Laravel5
14
+ ubuntu, Laravel5
15
+
16
+ ###追記
17
+ apache2.confで下記エラーが出ました。
18
+
19
+ ```
20
+ <VirtualHost *:80>
21
+ DocumentRoot /www/example2
22
+ ServerName www.example.org
23
+ </VirtualHost>
24
+ ```
25
+
26
+ ```
27
+ AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/apache2/apache2.conf:178
28
+ AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.〇〇.〇.2. Set the 'ServerName' directive globally to suppress this message
29
+ ```