Situatie
When I first got started with my homelab, everything was run on IPs and ports. If I wanted to access Nginx Proxy Manager, I’d have to navigate to 192.168.0.6:7818. For Scrypted, it was 192.168.0.152:10443 (different machines on different IPs).
You can see how running 10, 20, 30, or more services on a network could get really confusing, as ports could be the same on different IPs for different services. Overall, it was just a jumble of IPs and ports I was trying to memorize. It didn’t work well.
Going with a domain for my homelab allowed me to start to set up DNS resolution for local IPs. While I typically use my public IP, you could also use your local IP for the domain resolution, which allows it to only resolve on your LAN.
Now, instead of trying to navigate to 172.16.0.151:7818 for NPM, I just go to npm.mydomain.com. It’s much easier to remember, and if my LAN IP or port ever change for some reason, I don’t have to update my brain to remember the new info. I just update the DNS record, and now I’m heading to the same service with the same address, even though internally it’s located somewhere new.
Leave A Comment?