Hey all,

I am hosting applications on my home network via a raspberry pi in docker containers and I do not want to expose them over the internet. I’m trying to figure out how to configure my home network so that I can route requests going to “api.pi” to my web API running on my RaspberryPi and route “application.pi” to my web application. I’m not familiar with how home network and host names work, so looking for some guidance on how to get this setup.

  • IVOreosFromHeaven@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    You’ll want a reverse proxy if you have multiple applications running on one Pi. You will also want a wildcard DNS entry pointing to the Pi for when you have the reverse proxy working

    • Winux12@alien.topOPB
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      Yup, that makes since. I feel like since I have pi.local resolving to my raspberry pi on my home network then all I need to do is setup a reverse proxy with nginx or something that maps requests to my API or to my web application. What do you think? Or am I missing a step?