F
Friveupa20

  • Joined
  • Level1
  • Points44
  • Posts6
  • Solutions0
  • Thank you also for the ultra fast response!

    I assume by “Pentecost” you mean “pinging” 🙂

    When I ping my subdomain I get a different IP than when I ping my abc.internet-box.ch (the internet-box one understandably matches my public IP)

    But if I go to my subdomain via browser, I am automatically redirected to my abc.internet-box.ch domain

    Show original language (German)
  • Wow, thank you very much for the ultra fast response!

    No, I have not yet created an A Record entry at Infomaniak.

    Do I have to enter my public IP there with my subdomain?

    Will my public IP no longer be changed by the A Record entry and will remain static?

    Which certificate from ngnix do I need to get and where should I enter it?

    Show original language (German)
  • "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!

    Show original language (German)
    • Hi again @Friveupa20 😉

      (Habe meinen ersten Beitrag gelöscht, da Nils den entsprechenden Punkt bereits erwähnt hat)

      Du schreibst:

      Versucht habe ich bereits Folgendes:

      Bei der Internetbox 3 den Swisscom DynDNS einzuschalten (Beispiel: abc.internet-box.ch). Diesen DynDNS dann im Manager von Infomaniak via Web-Weiterleitung auf den DynDNS weiterzuleiten.

      Auf der Internetbox ein Port forwarding für Port 80 und 443 auf den Ngnix Proxy einzuschalten. Und im ngnix Proxy einen Redirection Host auf meinen Client aufzuschalten.

      Leider funktionierte dies nicht.

      und später:

      Wenn ich aber via Browser auf meine Subdomain gehe, werde ich automatisch auf meine abc.internet-box.ch Domain weitergeleitet

      Das ist exakt, was eine Web-redirection tut 😉. Web redirection = dein Browser verbindet sich mit dem Infomaniak Webserver, dieser sagt “die Seite, die du suchst, ist unter [http://xyz.internet-box.ch”](http://xyz.internet-box.ch")erreichbar" und dein Browser verbindet sich dann dorthin.

      Damit dein Browser nicht wortwörtlich xyz.internet-box.ch besucht, sondern dessen IP als IP für pihole.meinedomain.ch akzeptiert, musst du seitens Infomaniak keinen Web-Redirect sondern einen CNAME Record erstellen.

      Dann kommt die Anfrage auch richtig beim NGINX an.

      LG

      r00t

  • Thank you for the great instructions!!!

    But unfortunately this didn’t quite work for me. I installed Pi-hole on my Raspberry Pi 4 as per the instructions. I can also access the dashboard via IP address (i.e. in the browser). Then I see that nothing is happening. For example, chip advertisements are still displayed on my devices. However, I changed the DNS server on the router to the IP address of the Raspberry Pi, but this still didn’t work. I have also already tried changing the DNS server on my Windows device only. This was successful with IPv4 & IPv6 because this is displayed correctly in the CMD with the command “ipconfig /all”, i.e. the IP address of the Raspberry Pi for the DNS server.

    Does anyone know what I did wrong or what I forgot to do?

    Thank you very much and best regards

    Show original language (German)