Custom HTTPS Domain for Nginx
Point an A record at your Nginx VPS. Run certbot --nginx or DNS-01 via agentdomains txt for HTTPS.
Origin-to-edge flow for Nginx: connect 203.0.113.61 to nginx-box.agentdomains.co with automatic HTTPS.
1. Choose Mode: Edge Proxy vs DNS-01
Edge HTTPS Reverse Proxy
FOR PAAS HOSTS- 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
RECOMMENDED- 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 nginx-box --email you@example.com --domain agentdomains.co
agentdomains record nginx-box --domain agentdomains.co --type A --content 203.0.113.61
2. Interactive: Generate My CLI Command
Enter your subdomain label and origin below. Copy the generated commands or check live name availability.
3. Nginx Origin Configuration
Apply this config on Nginx so headers, TLS, and routing match your new hostname.
server {
listen 80;
server_name nginx-box.makes.fyi;
location / {
proxy_pass http://127.0.0.1:8080;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
}
Operational Checklist
- Include
proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade";for WebSocket apps. - Test your A record propagation before running Certbot with our free
/tools/dns-ssl-checker.
Frequently asked questions
Should I use edge proxy or an A record for Nginx?
Point an A record at your Nginx VPS. Run certbot --nginx or DNS-01 via agentdomains txt for HTTPS.
How do I check DNS propagation for Nginx?
Open /tools/dns-ssl-checker or run dig @1.1.1.1 nginx-box.agentdomains.co. Confirm both Cloudflare and Google return your record.
Can an AI agent configure Nginx routing via MCP?
Yes. Connect your client to https://mcp.agentdomains.co. Ask it to call claim_domain and add_dns_record.
Related Host Playbooks
Caddy Server
Set an A record pointing to your Caddy host. Caddy automatically obtains and renews Let’s Encrypt TLS certificates on first request with zero extra configuration.
Reverse ProxiesTraefik
Point an A record at your Traefik host. Add a Host router label with an ACME resolver.
Coolify
Point an A record to your Coolify VPS IP. Then paste https://coolify-box.makes.fyi into Coolify Domains.
Dokploy
Point an A record at your Dokploy IP. Add dokploy-srv.makes.fyi in Domains and turn HTTPS on.
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.