Custom HTTPS Domain for Ollama Local LLM API
Point an A record at your GPU box. Add HTTPS and Bearer auth in Caddy before forwarding to port 11434.
Origin-to-edge flow for Ollama Local LLM API: connect 203.0.113.50 to ollama-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.
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 ollama-node --email you@example.com --domain agentdomains.co
agentdomains record ollama-node --domain agentdomains.co --type A --content 203.0.113.50
2. Interactive: Generate My CLI Command
Enter your subdomain label and origin below. Copy the generated commands or check live name availability.
3. Ollama Local LLM API Origin Configuration
Apply this config on Ollama Local LLM API so headers, TLS, and routing match your new hostname.
# /etc/caddy/Caddyfile — protect Ollama with a Bearer token!
ollama-node.makes.fyi {
@unauth not header Authorization "Bearer YOUR_SECRET_TOKEN"
respond @unauth 401
reverse_proxy 127.0.0.1:11434
}
Operational Checklist
- Ollama has no built-in auth. Always require an Authorization header in Caddy or Nginx first.
- Set
OLLAMA_ORIGINS="https://*"only if browser apps call your endpoint directly.
Frequently asked questions
Should I use edge proxy or an A record for Ollama Local LLM API?
Point an A record at your GPU box. Add HTTPS and Bearer auth in Caddy before forwarding to port 11434.
How do I check DNS propagation for Ollama Local LLM API?
Open /tools/dns-ssl-checker or run dig @1.1.1.1 ollama-node.agentdomains.co. Confirm both Cloudflare and Google return your record.
Can an AI agent configure Ollama Local LLM API 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
vLLM Inference Server
Point an A record at your GPU server and start vLLM with --api-key. Add Caddy for HTTPS at /v1.
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 ProxiesNginx
Point an A record at your Nginx VPS. Run certbot --nginx or DNS-01 via agentdomains txt for HTTPS.
Traefik
Point an A record at your Traefik host. Add a Host router label with an ACME resolver.
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.