Custom HTTPS Domain for GitHub Codespaces
Set your Codespaces port to Public, then run agentdomains proxy. Share cs-preview.makes.fyi instead of a long .github.dev URL.
Origin-to-edge flow for GitHub Codespaces: connect studious-space-xxxx-3000.app.github.dev to cs-preview.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 cs-preview --email you@example.com --domain agentdomains.co
agentdomains proxy cs-preview studious-space-xxxx-3000.app.github.dev --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. GitHub Codespaces Origin Configuration
Apply this config on GitHub Codespaces so headers, TLS, and routing match your new hostname.
# Make port 3000 public from inside your Codespace terminal:
gh codespace ports visibility 3000:public -c "$CODESPACE_NAME"
Operational Checklist
- Private Codespaces ports redirect to GitHub OAuth login — webhooks require setting port visibility to
public. - Keep
cs-preview.makes.fyiafter stopping a Codespace. Point it at your next Codespace or staging server.
Frequently asked questions
Should I use edge proxy or an A record for GitHub Codespaces?
Set your Codespaces port to Public, then run agentdomains proxy. Share cs-preview.makes.fyi instead of a long .github.dev URL.
How do I check DNS propagation for GitHub Codespaces?
Open /tools/dns-ssl-checker or run dig @1.1.1.1 cs-preview.agentdomains.co. Confirm both Cloudflare and Google return your record.
Can an AI agent configure GitHub Codespaces routing via MCP?
Yes. Connect your client to https://mcp.agentdomains.co. Ask it to call claim_domain and set_proxy.
Related Host Playbooks
Replit
Deploy your Repl to *.replit.app, then run agentdomains proxy. Visitors see a clean makes.fyi URL.
Bolt.new
Publish your Bolt.new app to Netlify, Fly.io, or Railway. Add agentdomains proxy or forward for a short URL.
Lovable
Use agentdomains forward for quick links to *.lovable.app. Export to Railway or Fly.io to use agentdomains proxy.
v0 by Vercel
Use agentdomains forward for short v0 preview links. Or deploy the Next.js app to a VPS with proxy or an A record.
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.