This is an old revision of the document!
Beware of rate limiting at Let's Encrypt. Don't run any more attempts than is absolutely necessary or you may have to wait an hour to try again.
domain.tld www.domain.tld autoconfig.domain.tld autodiscover.domain.tld
Virtualmin → <domain> → Server Configuration → Manage SSL Certificate → Let’s Encrypt (tab)
Request certificate for → Domain names listed here → <list of Subject Alternative Names>
Months between automatic renewal → 2
Virtualmin → <domain> → Services → Configure Website → Aliases and Redirects
Permanent URL redirects → From → /
(slash)
Permanent URL redirects → To → https://www.yourdomainname.tld
The matching domain name must be included in the SSL certificate.
Virtualmin → <domain> → Server Configuration → Manage SSL Certificate → Current Certificate (tab) → Copy to…