Custom HTTPS Domain for AWS Lightsail
Attach a Lightsail Static IP and add an A record. Enable HTTPS with Caddy or bncert-tool.
Origin-to-edge flow for AWS Lightsail: connect 198.51.100.81 to lightsail-app.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 lightsail-app --email you@example.com --domain agentdomains.co
agentdomains record lightsail-app --domain agentdomains.co --type A --content 198.51.100.81
2. Interactive: Generate My CLI Command
Enter your subdomain label and origin below. Copy the generated commands or check live name availability.
3. AWS Lightsail Origin Configuration
Apply this config on AWS Lightsail so headers, TLS, and routing match your new hostname.
# Open HTTPS in Lightsail Networking tab, then verify DNS:
dig +short A lightsail-app.makes.fyi
Operational Checklist
- For Lightsail Container Services (
*.cs.amazonlightsail.com), useagentdomains proxydirectly against the service hostname. - Lightsail Static IPs are free while attached to a running instance.
Frequently asked questions
Should I use edge proxy or an A record for AWS Lightsail?
Attach a Lightsail Static IP and add an A record. Enable HTTPS with Caddy or bncert-tool.
How do I check DNS propagation for AWS Lightsail?
Open /tools/dns-ssl-checker or run dig @1.1.1.1 lightsail-app.agentdomains.co. Confirm both Cloudflare and Google return your record.
Can an AI agent configure AWS Lightsail 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
AWS EC2
Point an A record at your EC2 Elastic IP with Caddy TLS. Behind an AWS ALB, use agentdomains proxy instead.
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!
Google Cloud Run
Use agentdomains proxy in front of your *.a.run.app host. It works globally in seconds, unlike regional Cloud Run mappings.
Linode (Akamai Cloud)
Set an A record (and optional AAAA) to your Linode IP and let Caddy or Certbot handle TLS.
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.