Skip to content

Reach several home devices from outside through one IP using subdomains — by Daniel on Super User

intermediateforumCC BY-SA (Stack Exchange; version depends on post date)

With one public IP and a domain, run a single nginx reverse proxy that sends device1.example.com, device2.example.com and so on to different internal servers by name. Only that one proxy needs ports forwarded. Anything exposed this way should be secured (HTTPS, authentication) or kept behind a VPN instead.

Read the full thread on superuser.com

Source: Reach several home devices from outside through one IP using subdomains by Daniel on Super User. Licence: CC BY-SA (Stack Exchange; version depends on post date).

Source reviewed
2026-11-02
Link checked
Not yet
Tested hands-on
Not by Oddbyte.Me

reverse proxysubdomainsport forwardingself-hostingnginx

More in Community Answers (Stack Exchange)