For example, I have following services running in my local network.
- Git Server: Located at
- Jellyfin Server: Located at
- NAS (Network Attached Storage): Located at
Is there any good way to access them without typing ip address?
Yes. In this blog post, I'll walk you through how I set up my internal network.
The first step in our journey is to set up a private DNS server within our local network. For this, I chose AdGuardHome, which I deployed at
With AdGuardHome, I was able to set up custom DNS resolutions. For instance:
However, if a service operates on a different port, we need to employ a reverse proxy, like nginx, to handle the traffic.
I set up a proxy server at
192.168.1.103. This means that any requests to
*.internal.cuora are directed to the proxy server at
Here's a brief overview of my nginx setup:
jellyfin.internal.cuora, traffic is directed to
git.internal.cuora, traffic is directed to
nas.internal.cuora, traffic is directed to
With this configuration, I can easily access all my internal services using domain names, making the entire process seamless and user-friendly.
don't forget to add a default nginx config
This part is quite easy. In DHCP setting, just set default DNS server to our own private dns server