| SYSTEM INFORMATION | |
|---|---|
| OS type and version | Ubuntu Linux 24.04.3 |
| Webmin version | 2.520 |
| Virtualmin version | 7.50.0 GPL |
| Webserver version | what is? |
I have some server and subserver installed on Virtualmin.
Some sub-server are subdomain some other virtual server are subdomain that cannot be an alias or a sub server.
Today I decide do create a virtual server with a subdomain name test.mydomain.ext
this has invalidated all other domains and subdomain certificate all wesbite went down because of wrong certificate.
I was terrified and don’t know what to do.
I started to try to renew or generate a new let’s encrypt certificate from one of those domain but get error invalid response unauthorized Hint: The Certificate Authority failed to download the temporary challenge files created by Certbot.
I so removed the new server test.domain.ext and all certificate come to work back again.
So I cannot create test.domain.ext as all my website goes down if I try.
Why? This should be not happen.
I had issues with certificate also by restoring in the past a backup from server A to B.
All certificate was no more valid so I need to reissue one by one but was also not possible because website was not reachable by http maybe for ssl forced… so I had to use a script to disable all domains https then reissue certificate domain for domain and resume back https
I’m using a VPS with a single shared IP.
I tried to go on server template, default settings, ssl website for domains and deactivate Generate SSL certificate for domains without SSL website but this never resolve the issue as maybe a self signed cert is created and all other domains on other virtual server start to be down with an invalid certificate.
I can’t create anymore a new virtual server or all my domain, subdomains on server or sub server get certificate invalid.
Any help will be appreciated. Thank you.
I access my Virtualmin from a domain example:
vps.domain.ext
In the dropdown domains list this is the last item as is the hostname the first domain installed.
I have some other domain and subdomain above this.
I want add a new subdomain that currently is not present as virtual server
test.domain1.ext
but if I do al other website goes down because of the wrong certificate.
Seems the new virtual server replace the certificate to all other virtual server website. Maybe the self signed certificate as I disabled to generate a SSL certificate as default.
About my main hostname domain vps.domain.ext that I use to access the Virtualmin panel
On manage virtual server, setup SSL certificate the option
Host default SSL certificate is showing No.
Should I set this as default to avoid the issue of certificate replaced when I add a new virtual server or the solution is different?
I don’t wanna broke the server as I am in production.
Thank you

