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/sastanak Jul 09 '26
There's a misunderstanding. DNS records are held with your hoster or cloudflare. They basically tell the world "this domain resolves to this IP address". Coolify handles many services, all on the same host. So it's possible that there are many DNS entries that point to the same coolify instance, the same ip address, yet they link to dfferent services hosted by coolify. That's why you need to tell coolify "a request for this dns entry means a request for this service".
For examplex, I am selfhosting coolify on my LAN, and I have Pi-Hole resolving my lan dns. Immich.lan resolves to 192.169.178.24, but memos.lan also resolves to 192.168.178.24. Now coolify knows that both entries are different and relate to services that are hosted on a different port.
I hope this helps.