I created a short tutorial on using sub domains to access services hosted within my home network, thought I would share it here in case anyone finds it useful

This is the first time I’ve made a technical tutorial so apologise if there are mistakes/its confusing, feedback will be appreciated

    • Aneb@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      ·
      3 months ago

      Yeah it was honestly changing the router settings that was the hardest part for me, exposing port 22 and 80. Caddy was really easy to use

  • ragica@lemmy.ml
    link
    fedilink
    English
    arrow-up
    4
    ·
    3 months ago

    You seem to have descibed your port forwards backwards It is the router forwarding the ports to the gateway pi (and potentially other devices), not gateway pi and other devices forwarding to the router. The forwards to servers are incoming from the internet.

    (Theoretically you could have your pi physically between the router and the internet (modem) acting as a sort of pre-router, but this would be unusual. Perhaps you could describe your physical setup more clearly. What is physically/wirelessly connected to what, to the internet.)

  • pathos@lemmy.ml
    link
    fedilink
    English
    arrow-up
    1
    ·
    3 months ago

    Oh I thought it was sub domains for localhost. I actually wonder now if that’s possible.