"Forward" subdomain to client on the network?
Hello everyone
I have bought a domain from Infomaniak for a long time.
At home I set up an Ngnix proxy in my network.
My goal would be to be able to access a client in my network via a subdomain.
So e.g.: pihole.meindomain.ch -> 198.168.1.XX:XXXX
I have already tried the following:
Switch on Swisscom DynDNS on Internetbox 3 (example: abc.internet-box.ch). This DynDNS is then forwarded to the DynDNS in the Infomaniak manager via web forwarding.
Activate port forwarding for ports 80 and 443 on the Ngnix proxy on the Internet box. And connect a redirection host to my client in the ngnix proxy.
Unfortunately this didn’t work.
How can I access my internal client from the subdomain?
Do I have the right approach to solve this via Ngnix Proxy (I don’t actually want to open a separate port on Internetbox 3 for each service/client)?
It wouldn’t be a problem to migrate the domain to another provider.
If you want me to share any other information, just comment 🙂
Thank you!
PS: my network knowledge has become a bit “rusty” in recent years, so I would be very grateful for any ideas/explanations as to why my approach didn’t work!