So i have Virtualmin installed on a Ubunutu VPS. During Virtualmin setup, i named the instance “ws.fqdn.com”. And i proceeded to set up a single server: “fqdn.com”.
Using cloudflare for my doman/dns. I was able to set up my SSL with LetsEncrypt just fine for " Domains associated with this server". But then when i do" Domain names listed here", i copy all the main ones, and add ws.fqdn.com, it fails. I have the ws entry added in my dns records on cloudflare.
So i have had this install for a while. I had successfully got the ws.fqdn.com to get the SSL. but the issue arose when it came time to renew. it failed(along with all the listed domains i selected.) After troubleshooting the log, i tried renewing (after the time out period) but this time without the ws.fqdn.com in VM(ie: the standard selection of domains) and boom it renewed. then tried to add the ws domain again…and failed…all while having the ws A record properly in Cloudflare
yes the host name is ws.fqdn.com. I set that when i set up the VM instance
I basically have the same setup, I don’t use cloudflare for dns but vultr’s dns (my vps host) but it should be the same. Not sure what you mean Domain names listed here, is this in Virtualmin, if so can you screenshot that. You have disable DNS on the virtual server.
Ok, let me try.
Ok, I added server.mydomain.com (same as hostname of server) to Domain names listed here
and requested the cert and worked fine. server.mydomain.com has a A record at vultr dns.
Yup. “ws” record in VM matches whats in Cloudflare DNS
I have the hostname of VM as ws.fqdn.com and then i have my main site that i have content on, at fdqn.com. WS stands for webserver. so its how i access the VM instance.