Accessing NAS applications via subdomains - am I thinking about this correctly? reddit / selfhosted ---------------------------------------------------------------------- FiziksMayMays · 2023-12-02 18:00 Hey everyone, I got my parents a Synology DS923+ for christmas this year, and did some initial setup including installing Synology Photos and Jellyfin. I want to them to be able to access these apps via subdomain, like `photos.nas-hostname.local` and `jellyfin.nas-hostname.local` instead of through ports I've noticed that the NAS is accessible on my network via `nas- hostname.local`. I'm not sure why this is the case (I didn't set up DNS for it, but maybe the `.local` TLD tells the router to search for a machine with that hostname?). In any event, **would it be possible to just set up a reverse proxy on the NAS to accomplish this**? In other words, since `nas- hostname.local` somehow points to the NAS already, would setting up a reverse proxy allow me to map subdomains to different ports? If relevant, we are **only planning on accessing the NAS from inside the network for now.** Thanks for any advice! ---------------------------------------------------------------------- yelloguy · 2023-12-02 18:09 Just use your router config to set this up. On one computer you can also just use hosts file ---------------------------------------------------------------------- FiziksMayMays · 2023-12-02 18:40 Okay thanks, I will try that! I don't know what router they have but it's likely a cheap ISP combo unit so I wasn't sure if I'd be able to. ---------------------------------------------------------------------- The0neWhoKnock5 · 2023-12-03 04:14 Just set up something similar on my network. I have a Server on my network running my Apps via Docker. 1. I used Pi-Hole + Unbound for my internal DNS. Created a dnsmasq file/rule for my internal domain (so I didn't have to manually enter every domain to IP mapping in Pi-Hole). 1. Then I set up Traefik for my reverse-proxy. Nginx Proxy Manager could be used instead for simplicity, but I chose Traefik due to it's ability to read labels from Containers for auto-discovery. 1. Then I pointed my Router at my DNS so any queries for `.mydomain.net` would get forwarded to the proxy and then to my Docker services. ---------------------------------------------------------------------- Haliphone · 2023-12-03 05:30 How would you do this? ---------------------------------------------------------------------- yelloguy · 2023-12-03 17:08 On Windows or Mac there is a hosts files. You can open it in any plain text editor. Then list the IP address and the friendly name like this- jellyfin [192.168.0.132:8052](https://192.168.0.132:8052) Save the file and type in jellyfin in the browser. It will take you to the IP:Port As to doing it in the router, it will depend on the router firmware. You can generally Google directions for doing this for your make and model.