Configure SSL for virtualmin dashboard

Who told you that?

It’s fine. You can connect to Virtualmin on any domain name you want. It listens on every IP on the system, by default. Names don’t matter.

The hostname of the system should not be a name you are hosting with Virtualmin. That’s pretty danged important, but it’s irrelevant to how you connect to Virtualmin.