I'm using GCE to set-up Virtualmin. Everything works just fine, but, here's the catch.
In the GCE DNS Zone I've pointed my domains this way:
example.com A 35.234.122.118
www.example.com A 35.234.122.118
*.example.com CNAME example.com.
The issue is that when I'm opening existing subdomains, everything works fine. But the problem is that I can access the root subdomain of example.com
just by typing anything I want, for example blabla.example.com/panel
acts like example.com/panel
.
I'm not into DNS so much, so I'm sure there's someone out there to help me out with that.