Hacker News new | ask | show | jobs
by schoen 2957 days ago
In this case you'll need to use the DNS-01 validation method for the domain issuance, not HTTP-01 (because local.mydomain.com won't be able to receive an inbound validation connection from Let's Encrypt).
2 comments

There's various tricks. You can also assign the domain to a static IP long enough to verify your ownership then change it. Using a TXT record is probably easier to automate renewal though.
thx for this method. Did not know that there is also another DNS based verification for normal subdomains on letsencrypt.