I’ve gone through the setup, and when asked for the name server to help do resolution, I use: virtualmin.site.com
Now…when it comes to setting up the default server, i added another DNS entry for default.site.com…so it becomes the default page when you navigate to the IP. This is also successful and accessible.
Its when I want to set up the Virtualmin Panel (virtualmin.site.com) to get it’s own SSL cert.The link at the start of this post indicates to select the a server and go to manage SSL certificate. So i go to the default.site.com virtual server, it already has it’s Lets Encrypt cert, so I click on Set as Default Services Certificate, and that applies fine, but again, virtualmin.site.com:10000 never gets the cert even after clearing cache and even accessing from another system
The SSL certificate for default.site.tld will never work on a different domain, e.g. virtualmin.site.tld.
I suggest you create a virtual server for the domain virtualmin.site.tld (which is also the hostname, I know), apply for a SSL certificate for this virtual server and then Set as Default Services Certificate. Oh, and disable the check box for mail for this virtual server.
Your users will then be able to use the hostname for incoming server and outgoing server for mail and use virtualmin.site.tld:10000 and admin.virtualmin.site.tld over encrypted connections. Your IP address will continue to show default.site.tld
Honestly just the installer wizard maybe. Like possibly giving examples of names to use? Not sure. I have seen a few videos out there from the Virtualmin team but they seem to be out dated. I would LOVE to see a full run thorugh on a server setup with various script installers or SSL setups and such.
I just looked at the videos I made a few years ago, before suggesting them to someone else, and they are still fine. Nothing major has changed…at least not in any of the subjects they cover. Some things got simpler, some defaults changed, but if you watch the introductory videos on our YouTube channel, you’ll get accurate and working information about Virtualmin.
Even the oldest one (Virtualmin Introduction, which includes installing WordPress), though it leaves much to be desired in terms of quality, it is not wrong.