@rikukale did this stop working when you upgraded to Virtualmin 7.50.0 ?
Yep, Iām 99% it did.
Looks like I have hit this exact same issue, I have also set apache_star=2 and can see * instead of IP address when creating a new sub server now.
https://forum.virtualmin.com/t/all-websites-pointing-to-new-sub-server-subdomain/135700
Thanks