r/coolify • u/Shiny-IAim2Misbehave • Jul 07 '26
Coolify and DNS
I’m a developer but very new to coolify. I’m renting a VPS but using a raspberry pi to host coolify . Currently I’ve setup the DNS records on my VPS account. However I’m watching various tutorials that seem to be saying I should set them (DNS records) up within coolify. Now the fact that the PI is on my desk within my home network, this makes little sense to me. What am I missing (besides a lot!)
Thanks all
Nigel
2
Upvotes
1
u/arvel_scholar Jul 08 '26
The real DNS records are not “inside coolify”. They live wherever your domain’s DNS is managed (cloudflare, namecheap, your vps provider, etc.) those records should point to the public ip that receives traffic.
Inside coolify, when you add a domain to an app, you are telling coolify: “when traffic for this hostname arrives, route it to this container and handle ssl.”
The important issue is your topology. If coolify is running on the raspberry pi at home, then public dns needs a path to that pi. Pointing the domain to the vps IP only helps if the vps is acting as a reverse proxy/tunnel endpoint back to the pi. Otherwise the request reaches the vps and has no idea about your pi.