- Solutionselected by Friveupa20
Hi again @Friveupa20 😉
(I deleted my first post because Nils had already mentioned the relevant point)
You write:
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.
and later:
But if I go to my subdomain via browser, I am automatically redirected to my abc.internet-box.ch domain
That’s exactly what a web redirection does 😉. Web redirection = your browser connects to the Infomaniak web server, which says “the page you are looking for is at [http://xyz.internet-box.ch”](http://xyz.internet-box.ch “)reachable” and your browser will then connect there.
So that your browser does not literally visit xyz.internet-box.ch, but instead accepts its IP as the IP for pihole.meinedomain.ch, you do not need a web redirect from Infomaniak but a [CNAME](https://www.infomaniak.com /en/support/faq/2033/cname-dname-record) Create record.
Then the request arrives correctly at NGINX.
LG
r00t
4b 65 69 6e 65 20 4d 61 63 68 74 20 64 65 72 20 6c 65 67 61 63 79 20 49 50 21