I have started my small homelab with a bunch of services on top of Proxmox (OMV, PiHole, HomeAssistant, bunch of small docker containers, etc.)
Currently i am using Heimdall as sort of ‘dashboard’, but more of a centralized place to keep track of all ips and ports the different services are.
I am in a search of something to make all the services available under somewhat local domains -
omv.local -> 10.0.0.2
proxmox.local -> 10.0.0.3
serviio.local -> 10.0.0.4:23423
portainer.local -> 10.0.0.4:9000
For the domain itself it’s easy - pihole will do it for me, but the issue is the actual ports for the containers. The DNS doesn’t care for the port. I am really not sure what i am looking for even as term, let alone for specific piece of software.
So to get to my question is this actually possible in all local environment, and if so where to start my research? Doesn’t need to be something sophisticated with auto detection and whatnot. It’s all fine if i have to add manually each entry.
As for your question itself - you probably want a reverse proxy. Almost any web server can act as a reverse proxy; nevertheless Caddy, Traefik and nginx do it better than others.
Caddy is extremely user-friendly. Take a look.
omv.home.arpa { reverse_proxy 10.0.0.2 } proxmox.home.arpa { reverse_proxy 10.0.0.3 } serviio.home.arpa { reverse_proxy 10.0.0.4:23423 } portainer.home.arpa { reverse_proxy 10.0.0.4:9000 }
All DNS “A” records for your domains should point to IP of machine where your Caddy is.
I personally use nginx.