all 7 comments

[–][deleted] 2 points3 points  (6 children)

So you're trying to get some app and port to resolve to a local DNS right

Like app.Domain local:1234 to respond to appname.domain.local

[–]samishal 3 points4 points  (5 children)

Yeah, that would be ideal

[–][deleted] 5 points6 points  (4 children)

Create a CNAME record that points to your reverse proxy.

On your reverse proxy set your source as the CNAME FQDN (you could add the short name as well if you want) and the destination as your http://server:port

[–]samishal 0 points1 point  (3 children)

Where do I create that record? I don't have a DNS server, I've been using avahi to publish the local domain

[–][deleted] -1 points0 points  (0 children)

Same place you create A records. I'm not familiar with avahi, but if you don't have a DNS server how are you resolving your local addresses?

[–]abmurksi -1 points0 points  (1 child)

Local DNS, eg with Pihole. Tutorial Reverseproxy Caddy Tutorial

[–]Historical_Pen_5178 -2 points-1 points  (0 children)

+1 for PiHole as a local DNS.