Major Clouds · Integration Playbook

Custom HTTPS Domain for AWS EC2

Point an A record at your EC2 Elastic IP with Caddy TLS. Behind an AWS ALB, use agentdomains proxy instead.

Best Mode A Record + DNS-01
Setup 3 Commands
TLS Cert ACME DNS-01 / Caddy
Trial Cost $0 / 30 days
ORIGIN IP AWS EC2 198.51.100.80 Your server or PaaS DNS A AGENTDOMAINS Authoritative A Record ec2-node.agentdomains.co DNS-01 TXT + Caddy / Certbot TLS 1.3 AUTO HTTPS Users & Agents Port 443 · Valid Cert Zero bandwidth caps

Origin-to-edge flow for AWS EC2: connect 198.51.100.80 to ec2-node.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.
AWS EC2 — 3-command AgentDomains setup
agentdomains signup
agentdomains claim ec2-node --email you@example.com --domain agentdomains.co
agentdomains record ec2-node --domain agentdomains.co --type A --content 198.51.100.80

2. Interactive: Generate My CLI Command

Enter your subdomain label and origin below. Copy the generated commands or check live name availability.

Live CLI Generator & Availability Checker
Click "Check Availability Live" to query api.agentdomains.co/v1/available.
Generated shell commands for AWS EC2

        

3. AWS EC2 Origin Configuration

Apply this config on AWS EC2 so headers, TLS, and routing match your new hostname.

AWS EC2 server / platform config
# If fronting an AWS ALB hostname instead of a bare EC2 IP:
agentdomains proxy ec2-node my-alb-123456.us-east-1.elb.amazonaws.com

Operational Checklist

Debug DNS & ACME Live → Connect via MCP Instead

Frequently asked questions

Should I use edge proxy or an A record for AWS EC2?

Point an A record at your EC2 Elastic IP with Caddy TLS. Behind an AWS ALB, use agentdomains proxy instead.

How do I check DNS propagation for AWS EC2?

Open /tools/dns-ssl-checker or run dig @1.1.1.1 ec2-node.agentdomains.co. Confirm both Cloudflare and Google return your record.

Can an AI agent configure AWS EC2 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

Major Clouds

AWS Lightsail

Attach a Lightsail Static IP and add an A record. Enable HTTPS with Caddy or bncert-tool.

Major Clouds

Oracle Cloud (OCI Free Tier)

Point an A record at your OCI Always Free ARM VM public IP. Remember OCI requires opening ports 80/443 in BOTH the VCN Security List AND the VM’s local iptables!

Major Clouds

Google Cloud Run

Use agentdomains proxy in front of your *.a.run.app host. It works globally in seconds, unlike regional Cloud Run mappings.

Cloud VPS

Linode (Akamai Cloud)

Set an A record (and optional AAAA) to your Linode IP and let Caddy or Certbot handle TLS.

30 Days Free · No Card Required

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.