From aa7088cf8ae3cfe5ed6c57e9bd74eaebe5e377ec Mon Sep 17 00:00:00 2001
From: Matthew Holt
- Point any subdomain named caddydemo
to:
+ Point DNS records for any subdomain named caddydemo
to either:
+ or: +
Not working? Make sure to use a direct subdomain of a registered domain, not a "sub-subdomain."
- Verify you have created the public DNS records shown above with the correct addresses.
+ Verify you have created the public DNS records shown above with the correct values.
You may have to allow time for propagation. Consult your DNS provider's documentation or support for assistance.
- Your client must set the TLS ServerName indication (most do).
+ Your browser/client must set the TLS ServerName indication (most do).
- Example subdomains that could work:
Caddy is capable of serving TLS for any domains and IPs. This demo is intentionally restricted.
diff --git a/new/on-demand-tls.html b/new/on-demand-tls.html
index cdb39f1..ed0bd6b 100644
--- a/new/on-demand-tls.html
+++ b/new/on-demand-tls.html
@@ -60,7 +60,7 @@
- First, you'll configure an internal endpoint that Caddy can "ask" if a certificate should be allowed for a domain. This endpoint usually looks up the domain in a list or database and returns
- The customer sets a CNAME record on a domain or subdomain they control, so that their domain resolves to your domain's IP address.
+ The customer sets either a CNAME record or A/AAAA records on a domain or subdomain they control, so that their domain resolves to your server's IP address.
A
@@ -257,12 +257,12 @@
caddydemo.example.net
, caddydemo.example.co.uk
+ Example subdomains that could work: caddydemo.example.net
, caddydemo.example.com.au
1. Prevent abuse
HTTP 200
if it's allowed. Make sure to reject domains you don't recognize. This means that customers must register their domain with your app first.
+ First, you'll configure an internal endpoint that Caddy can "ask" if a certificate should be allowed for a domain. This endpoint usually looks up the domain in a list or database and returns HTTP 200
if it's allowed. Make sure to reject domains you don't recognize. (This implies that customers have to tell your app what their domain is first.)
1. Point DNS records