Cloudflare Edge TLS & HTTPS Explained
See how set_proxy handles TLS 1.3 at the edge and forwards traffic to your origin hostname.
Exact DNS wire fields: HOST identifies the label, TYPE picks the record format, TTL sets cache duration, TARGET holds the answer.
1. Engineering Breakdown
When you run agentdomains proxy, Cloudflare handles HTTPS at the edge with a managed cert. Visitors get fast TLS 1.3 handshakes worldwide. You never touch Certbot or manual renewals.
Common Pitfalls
- Edge proxy requires an upstream hostname (like
myapp.fly.dev), not a bare IP address.
2. Interactive DNS Record Syntax Validator
Edit the record type, host label, or value below to validate syntax and build your CLI command.
3. Exact CLI, curl & MCP JSON-RPC Payloads
Pick your preferred interface below and copy the working payload.
agentdomains proxy myapp myapp.fly.dev
curl -X PUT https://api.agentdomains.co/v1/subdomains/myapp/proxy \
-H "Authorization: Bearer $AGENTDOMAINS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"origin":"myapp.fly.dev"}'
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "set_proxy",
"arguments": {
"label": "myapp",
"origin": "myapp.fly.dev"
}
}
}
Frequently asked questions
What is Edge TLS & HTTPS?
See how set_proxy handles TLS 1.3 at the edge and forwards traffic to your origin hostname.
How do I automate Cloudflare Edge TLS & HTTPS with AgentDomains?
Use the Go CLI snippet above, send a REST curl call, or invoke set_proxy on https://mcp.agentdomains.co.
Related DNS & SSL Guides
Reverse Proxy vs URL Forwarding
Reverse proxy (set_proxy) serves your origin under your domain with HTTPS. URL forwarding (set_forward) sends a 301 or 302 redirect.
301 vs 302 HTTP Redirects
302 is temporary and easy to change (our default). 301 is permanent and browsers cache it hard.
Edge RoutingCORS Behind a Reverse Proxy
Configure Access-Control-Allow-Origin and OPTIONS preflight handling cleanly when your API sits behind an edge reverse proxy.
WebSockets & SSE Through Reverse Proxies
Keep long-lived wss:// WebSocket connections and AI token Server-Sent Events (SSE) streaming cleanly over HTTPS.
Claim your agent domain now
Start with 10 free HTTPS domains under agentdomains.co or makes.fyi for 30 days. Upgrade to Pro for $10/year to keep up to 100 names with visitor stats.