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
www.tld.com 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.
host1.tld.com
host2.tld.com

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.

Howdy,

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

https://www.virtualmin.com/documentation/web/troubleshooting#The_Wrong_Site_Shows_Up