hello, i was useing vps and when i create webmin/virtualmin, i can get the SSL for my webmin panel (a virual server is created drom the url of the webmin panel) for ex like this: url 'https://vmi*****.contaboserver.net:10000/) and virtual server is (vmi*****.contaboserver.net) and its created on its own and it should be the primary server, but on VDS i cant see the primary virual server?? (so i cant use the SSL)?? can anyone help plz
@stefan1959 thanks for the respond, its not the website domain, its the primary virtual server which can look like this for example(vmi83872.contaboserver.net) then i can get an SSL for it for the panel…
If you read the docs it implies to use FQDN you control, also the name will be added to the /etc/hosts file. But you do it your way.
Also you provider could in the future may decide to move your VPS, has happened to me a few time.
You could get a cert for vmibunchofnumbers.whatever.net, but why? There’s no reason to do that. You will be hosting domains on this system, I presume, since you have Virtualmin on it. So, use any of those instead when logging into Webmin.
If you never talk to Webmin on that name, then what “security” could be involved? You’re going to get a certificate for the domain name you do use to talk to Webmin. You’re stubbornly clinging to the idea that this name matters. It doesn’t have to. You’re the one treating vmi83872.contaboserver.net like it matters. It doesn’t matter. It’s just a name. It’s an arbitrary name your hosting provider gave the system. You never have to use it for anything.
Of course you can. It’s your system, right? But, that’s a different question. Open a new topic.
@awmwe99 If you’re really looking into setting up an SSL certificate for a hostname and this is your ultimate goal you can do it by going to System Settings ⇾ Virtualmin Configuration: SSL settings, enable Create host default domain with Let’s Encrypt certificate option, and re-check configuration. If everything is configured correctly it will just work.