Custom HTTPS Domain for Clerk Webhooks (Svix)
Use agentdomains proxy to give Clerk/Svix a clean HTTPS URL (https://clerk-sync.makes.fyi/api/webhooks/clerk) for user.created and session.created events.
Origin-to-edge flow for Clerk Webhooks (Svix): connect auth-sync.up.railway.app to clerk-sync.agentdomains.co with automatic HTTPS.
1. Choose Mode: Edge Proxy vs DNS-01
Edge HTTPS Reverse Proxy
RECOMMENDED- Point at any public hostname without
https://. - Cloudflare edge handles TLS 1.3 automatically.
- Zero Certbot config and zero IP exposure.
A Record + ACME DNS-01
FOR BARE VPS- Point directly at your server IPv4 or IPv6 address.
- Issue certs via Caddy or
agentdomains txtDNS-01. - Works even when your firewall blocks port 80.
agentdomains signup
agentdomains claim clerk-sync --email you@example.com --domain agentdomains.co
agentdomains proxy clerk-sync auth-sync.up.railway.app --domain agentdomains.co
2. Interactive: Generate My CLI Command
Enter your subdomain label and origin below. Copy the generated commands or check live name availability.
3. Clerk Webhooks (Svix) Origin Configuration
Apply this config on Clerk Webhooks (Svix) so headers, TLS, and routing match your new hostname.
// Verify Svix headers (svix-id, svix-timestamp, svix-signature) using the raw body
const wh = new Webhook(process.env.CLERK_WEBHOOK_SECRET);
const evt = wh.verify(rawBody, svixHeaders);
Operational Checklist
- Do not use a 301/302 forward for webhooks — Svix/Clerk does not follow redirects on POST webhook deliveries. Always use
proxyor anArecord. - Test live deliveries directly from the Clerk Dashboard Testing tab.
Frequently asked questions
Should I use edge proxy or an A record for Clerk Webhooks (Svix)?
Use agentdomains proxy to give Clerk/Svix a clean HTTPS URL (https://clerk-sync.makes.fyi/api/webhooks/clerk) for user.created and session.created events.
How do I check DNS propagation for Clerk Webhooks (Svix)?
Open /tools/dns-ssl-checker or run dig @1.1.1.1 clerk-sync.agentdomains.co. Confirm both Cloudflare and Google return your record.
Can an AI agent configure Clerk Webhooks (Svix) routing via MCP?
Yes. Connect your client to https://mcp.agentdomains.co. Ask it to call claim_domain and set_proxy.
Related Host Playbooks
Supabase Webhooks & Edge Functions
Use agentdomains proxy for a stable webhook URL. Swap backend hosts later without editing Supabase settings.
Stripe Webhooks
Use agentdomains proxy for a trusted Stripe webhook URL. You get automatic HTTPS with no SSL setup.
GitHub Webhooks
Use agentdomains proxy so GitHub delivers push, pull_request, and check_run events over verified HTTPS to https://gh-hooks.makes.fyi/webhook.
Twilio Voice & SMS Webhooks
Use agentdomains proxy for TwiML webhooks. Use an A record and Caddy for high-volume Media Streams WebSockets.
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.