Configure Domains & DNS
🚀 Installation & Setup
·
Updated 3 weeks ago
Configure Domains & DNS
GateControl acts as a reverse proxy: requests to a domain are forwarded by Caddy to a backend. For this to work, DNS records must point to the public IP of the server.
Creating DNS Records
A Record (IPv4):
app.example.com A 203.0.113.50
nas.example.com A 203.0.113.50
Wildcard (optional):
*.example.com A 203.0.113.50
A wildcard record covers all subdomains.
Where to Configure DNS?
| Provider | Management |
|---|---|
| Cloudflare | Dashboard → DNS → Add Record |
| Hetzner | DNS Console → Zone → Add Record |
| IONOS / 1&1 | Domain Center → DNS Settings |
| Namecheap | Domain List → Manage → Advanced DNS |
| AWS Route 53 | Hosted Zone → Create Record |
Important Notes
- Propagation: DNS changes take 1–60 minutes
- TTL: Set the TTL to 300 (5 minutes) for faster changes
- Cloudflare Proxy: Set to DNS only (gray cloud) — Caddy needs direct access for Let's Encrypt
- DNS Check: GateControl automatically checks whether the domain points to the correct IP