Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

How Custom Domains Work in Hyvor Blogs

说明与用途

Hyvor Blogs 通过 HTTP‑01 自动获取 Let’s Encrypt 证书,存储加密密钥并自动续期,使用 Caddy 提供 HTTPS,支持无限自定义域名。

问题

Managing custom domains for a multi‑tenant blogging platform requires routing, TLS certificate issuance, renewal, and secure storage without burdening users.

结果

Hyvor Blogs now supports unlimited custom domains per instance, with automated TLS certificate management via Let’s Encrypt and Caddy, reducing manual DNS and certificate work for users.

工作流

  • 1. User configures custom domain in Hyvor Blogs console.
  • 2. Console displays DNS instructions (CNAME for cloud, A record for self‑hosted).
  • 3. System verifies domain points to Hyvor servers via temporary route.
  • 4. Hyvor registers a Let’s Encrypt account (once per instance).
  • 5. Initiate ACME order for the domain using HTTP‑01 challenge.
  • 6. Store challenge token and thumbprint in cache.
  • 7. Respond to Let’s Encrypt challenge at /.well-known/acme‑challenge/{token} with {token}.{thumbprint}.
  • 8. Upon validation, generate CSR and private key, finalize order.
  • 9. Download certificate, encrypt private key, store in database with domain record.
  • 10. Configure Caddy to fetch certificate via get_certificate http from Symfony endpoint.
  • 11. Caddy serves HTTPS for the custom domain using the stored certificate.
  • 12. System automatically renews certificates before expiry.

证据

TLS certificates are generated using Let's Encrypt / ACME.

来源

Caddy's get_certificate fetches the TLS certificate from the app.

来源

  • 记录日期: 2026-09-20T09:45:32.494Z