Open to suggestions for managing Caddy for domains from Porkbun.

  • Porkbun itself is using Cloudflare.
  • Their Caddy module is confusing to setup due to API changes and older documentation.
  • I'd like to use a declarative json configuration, but first I just need Porkbun to play nice enough to work when adding subdomains via wildcard.

The Goal

Setup legit Let's Encrypt as wildcard locally to test services at *example.domain.com, then put them into production on mainsite wildcard *.domain.com on VPS or similar.

Seeking Advice

Can anyone advise on setup recommendations. I'm currently using Nginx, which I had no difficulty setting up with ACME challenge. Perhaps I'm approaching Caddy in the wrong way. Thanks for any ideas!

you are viewing a single comment's thread
view the rest of the comments
[–] 1 point 4 months ago (1 child)

my homelab is using this setup, I configured porkbun API, compiled caddy with the DNS challenge plugin and configured it.

I am using ansible with jinja templates there, if you are not familiar with it or have any doubt feel free to ask.

  • source
  • hideshow 1 child comment