Apache keeps redirecting to /var/www/html

I created a new domain on a fresh install of virtualmin gpl on CentOS 5.8. Apache keeps directing all request to /var/www/html instead of /home/domainname/public_html. For some reason the default server is taking precedence. Can someone give me ideas why this is happening and how to correct? Installation of virtualmin gpl was through the install script.

Stupid me! Problem solved. Read the following doc https://www.virtualmin.com/documentation/web/troubleshooting. Discovered there was an error on how I setup the external IP for the virtual domain as my server has a private IP NATed behind a firewall.