How do you guys set internal domains?
Say i dont want to type 192.168.1.100:8096 and want a url instead, say jellyfin.servername - how would I go about that? I don’t want it exposed online via reverse proxy. I don’t need certs. No port forwarding on the router.
How do I type ‘jellyfin.servername’ into a browser and being up the jellyfin dashboard?
You’ll need a reverse proxy.
I currently use a custom filter/rewrite in AdGuard Home (similar to pihole).
An alternative to running a central dns server is to use mDNS. You can install a daemon on each server that you want to access via hostname, and then clients know that ServerName.local domains should be resolved using mdns. They send out a dns query to a local multicast IP, the daemon on the servers receives the query and the appropriate one responds. By design it’s local only.
If externally available - i use domain. If local - by ip:port. I find it easier to rely on firefox bookmarks and their folders lol.
Reverse proxy and local DNS. Just add the domains you want to your DNS and point them at the reverse proxy.
If you have your own DNS server you can set a hostname there like ‘jellyfin.myserver’ and have that accessible from your internal network. If you want to do so on your PC you can edit your hosts file to add a custom entry. https://www.hostinger.com/tutorials/how-to-edit-hosts-file
After much suffering with local zones (mainly due to stubborn devices ignoring dns servers coming via dhcp and retarded corporate vpn messing with resolv.conf) I just use xxx.local.mydomain.tld with a small script that parses the leases files and updates the data via cloud flare api.
I ended up doing a similar thing for the same reasons, too many things ignoring my local dns. I ended up creating a subdomain for my house where all the A records had internal ips. I gave out fixed leases to the things with names though instead of dynamic dns updates.
I have static ips for the server-ish things and few important devices too, but for the rest (swarm of shellys, esp32, etc.) I’m too lazy to maintain the list =)
I use pihole running on an esxi server for dns. In pihole you can create local dns records which is exactly what you’re trying to do. It’s very lightweight, you can run it on about anything.
You can also do something like this
Thanks. It was the ports that were more of an issue. It’s one server with several containers and id like a local “url” for all of them, but looks like reverse proxies aster my only out, which is a shame because i’m dumb.