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


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