I installed Virtualmin a few days ago so I can host a few websites of some friends of mine. My virtual host list looks like this:
If I request a subdomain that does not exist (e.g. foo.domain-c.tld) then I see the contents of a.domain-a.tld. I would like to get the same response (or actually no response) for non existing subdomains as here: http://non-existing.virtualmin.com/ - how can I achieve that?
If I request a domain (or subdomain) with https (e.g. https://domain-a.tld) although I haven't setup SSL for this domain then I see the contents of the first domain that actually has a SSL Certificate (which is domain-b.tld in my case). Should I create Lets-Encrypt-Certs for every vhost or is there another way to prevent this behaviour from happening? Maybe a 301 Redirect to http if https isn't available for the requested vhost?