Hi, Didn’t find answer here and all other topics are closed so creating new topic for others! When you want to add lets encrypt certificate for subdomain and using different DNS service than Virtualmin, remember to add correct CNAME entry before requesting certificate. Remember to use “Domain names listed here” to enter correct domains when requesting.
Here is example from net how to do it:
To Enable lets encrypt SSL on Subdomain Add these DNS records before requesting Let’s Encrypt
For example to setup SSL for test.domain.com
- A record for test —> IP address or CName Record for test —> domain.com
- CNAME record for www.test —> test.domain.com
Note, these settings are for cloudflare, might be a little different for your provider. If you dont want www.test.domain.comjust use request certificate for test.domain.com and it should work just fine.