I have configured a vhost.conf file and it appears to be not set up correctly. Here is a copy of the file
When I try to access http://public_dns/phpinfo.php
I get this error
[Tue Apr 29 16:52:35 2014] [client 18.104.22.168]script '/var/www/html/def.com/php
info.php' not found or unable to stat
To solve this I put phpinfo.php in /var/www/html/def.com
My question is why is it defaulting to def.com and do I have the vhost.conf file set up correctly?