0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

VirtualBox+apatchでvhostがうまく動かない

Last updated at Posted at 2019-09-20

VirtualBox内のvhostがうまく動作していない気がする

Vhostの設定を確認する

httpd -S

[root@loca html]# httpd -S
VirtualHost configuration:
wildcard NameVirtualHosts and _default_ servers:
*:80                   is a NameVirtualHost
         default server xxxx.co.jp (/etc/httpd/conf.d/_default_vhost.conf:1)
         port 80 namevhost xxxx.co.jp (/etc/httpd/conf.d/_default_vhost.conf:1)
         port 80 namevhost vmlocal.xxxx.local (/etc/httpd/conf.d/admin.conf:1)
                 alias vmlocal
         port 80 namevhost aaa.vmlocal.xxxx.local (/etc/httpd/conf.vhost.d/vhosts-aaa.conf:2)
         port 80 namevhost bbb.vmlocal.xxxx.local (/etc/httpd/conf.vhost.d/vhosts-bbb.conf:2)
         port 80 namevhost html.vmlocal.xxxx.local (/etc/httpd/conf.d/html.conf:1)
Syntax OK
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?