subserver not working

I am using centos 7 and virtualmin/webmin installation on an azure vm and have been havving trouble setting up subservers correctly,

I have tld hosted on my vps bind server. Glue records at my domain registrar are fine and all links in the tld work fine.

I created two subservers in virtualmin like subdomains in cpanel.

trying to access any of these subdomains in a browser always takes me to the tld homepage, i have checked the dns logs and apache httpd file for wildcard entries and everything seems fine. What could be causing this.
My server has a firewall and uses an internal and external ip address, could this be an issue.


It sounds like the issue you’re seeing may be the one described here: