Custom HTTPS Domain for Railway
Use agentdomains proxy pointing at your *.up.railway.app hostname. Zero custom-domain verification wait and instant HTTPS at our edge.
Origin-to-edge flow for Railway: connect my-service-production.up.railway.app to rail-api.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 rail-api --email you@example.com --domain agentdomains.co
agentdomains proxy rail-api my-service-production.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. Railway Origin Configuration
Apply this config on Railway so headers, TLS, and routing match your new hostname.
# Railway exposes a public hostname under Settings → Networking → Generate Domain
# Verify origin responds before proxying:
curl -I https://my-service-production.up.railway.app
Operational Checklist
- Hobby Railway apps sleep when idle. The first request takes 1–2 seconds while the container wakes.
- Need direct Railway routing? Add a CNAME record pointing to your Railway target instead.
Frequently asked questions
Should I use edge proxy or an A record for Railway?
Use agentdomains proxy pointing at your *.up.railway.app hostname. Zero custom-domain verification wait and instant HTTPS at our edge.
How do I check DNS propagation for Railway?
Open /tools/dns-ssl-checker or run dig @1.1.1.1 rail-api.agentdomains.co. Confirm both Cloudflare and Google return your record.
Can an AI agent configure Railway routing via MCP?
Yes. Connect your client to https://mcp.agentdomains.co. Ask it to call claim_domain and set_proxy.
Related Host Playbooks
Fly.io
Use agentdomains proxy directly against <app>.fly.dev. You get instant edge HTTPS without running fly certs add or paying for a dedicated IPv4.
Render
Use agentdomains proxy targeting <service>.onrender.com for immediate HTTPS on your custom makes.fyi or agentdomains.co hostname.
Raspberry Pi
With a public IP, set an A record and run Caddy. Behind CGNAT, run Tailscale Funnel or Cloudflare Tunnel behind agentdomains proxy.
Docker Compose
Point an A record at your Docker host IP. Run Caddy or Traefik next to your app for HTTPS routing.
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.