I am after the correct DNS settings for each of my sites. I wanted to set them all up as master DNS if that is the right way to do it.
The local network IP address is 192.1xx.x.xx
The server IP address is a local ISP 203.1xx.x.xx
If I want them all to act as master DNS servers this is how I have them at the moment
$ttl 38400 @ IN SOA hostname.com.au. root.hostname.com.au. ( 1183733388 10800 3600 604800 38400 ) @ IN NS hostname.com.au. hosted-domain.com. IN A 192.1xx.x.xx www.hosted-domain.com. IN A 192.1xx.x.xx ftp.hosted-domain.com. IN A 192.1xx.x.xx m.hosted-domain.com. IN A 192.1xx.x.xx mail.hosted-domain.com. IN A 192.1xx.x.xx hosted-domain.com. IN MX 5 mail.hosted-domain.com. hosted-domain.com. IN TXT "v=spf1 a mx a:hosted-domain.com ip4:192.1xx.x.xx ?all"
Does that look right......
If I change that to the public IP address it just goes to the default first virtual site.
I have a problem where if I try and go to http://hosted-domain.com:10000 I see the page
Error - Bad Request This web server is running in SSL mode. Try the URL https://192.1xx.x.xx:10000/ instead.
I would rather see the following pointing to the public IP address
Error - Bad Request This web server is running in SSL mode. Try the URL https://203.1xx.x.xx:10000/ instead.
I had a look at http://www.virtualmin.com/documentation/id,virtualmin_administrators_gui... but that didn't work for me but maybe I missed a step.