2024-10-08, 03:41 PM
Depends if your router supports custom DNS entries or NAT loopback. If it supports NAT loopback (or NAT hairpin), enable it. This will configure the router so that when DNS queries resolve to itself or a local machine it will keep the traffic local instead of routing it out to the Internet only for it to come right back.
If it doesn't support NAT loopback, it is very common for routers to support custom DNS entries. You would add an entry for your jellyfin domain, but have your domain resolve to your server's LAN IP.
In either case, if you're using a phone, once you leave your house it will start using your cellular provider's DNS, or custom DNS, and queries for your jellyfin server will resolve to your public IP.
If it doesn't support NAT loopback, it is very common for routers to support custom DNS entries. You would add an entry for your jellyfin domain, but have your domain resolve to your server's LAN IP.
In either case, if you're using a phone, once you leave your house it will start using your cellular provider's DNS, or custom DNS, and queries for your jellyfin server will resolve to your public IP.