Ok I created test virtual host with one of my domains, helpingyouth.ca. Everything was created fine, and using dig on the same host as the Virtualmin server I get the correct external IP
;; QUESTION SECTION:
;www.helpingyouth.ca. IN A
;; ANSWER SECTION:
www.helpingyouth.ca. 38400 IN A 207.216.240.xx
However, when trying to get to the site I ended up at the default web site at that IP, but when I changed the virtual host setting from *:80 to the internal IP in httpd.conf, I was then able to get to the doc root of the new host.
But I do get some errors from apache when it starts (there are other virtual hosts not imported into Virtualmin, and with the same "Virtualhost 192.168.1.2" setting:
#<VirtualHost *:80>
<VirtualHost 192.168.1.2>
SuexecUserGroup "#511" "#511"
ServerName helpingyouth.ca
ServerAlias
www.helpingyouth.ca DocumentRoot /home/helpingyouth/public_html
ErrorLog /home/helpingyouth/logs/error_log
CustomLog /home/helpingyouth/logs/access_log common
ScriptAlias /cgi-bin/ /home/helpingyouth/cgi-bin/
<Directory /home/helpingyouth/public_html>
Options Indexes IncludesNOEXEC FollowSymLinks
allow from all
</Directory>
</VirtualHost>
Apache errors when starting:
Starting httpd: [Thu Jul 05 17:50:40 2007] [error] VirtualHost 192.168.1.2:0 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
[Thu Jul 05 17:50:40 2007] [error] VirtualHost 192.168.1.2:0 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
[Thu Jul 05 17:50:40 2007] [error] VirtualHost 192.168.1.2:0 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
[Thu Jul 05 17:50:40 2007] [error] VirtualHost 192.168.1.2:0 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results