This topic has been here before. The creation of the default_hostname is an expected behavior implementet by the devs when you toggle the checkbox
Setup SSL certificate from provider for hostname
in
Virtualmin → System Settings → Virtualmin Configuration → SSL settings