I want to host my website in my raspberry pi, I’ve read that I would need a web server software for this. Which one do you recommend? It won’t be a complex website.

  • innercitadel@lemmy.nz
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 year ago

    Hosting personal websites on your own hardware is such a pain, and I would imaging doing it on a rpi would be even more of a pain than on x86 architecture. If at all an option I’d recommend hosting on something like github pages or better still on a VPS.

    • asudox@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 year ago

      Well thanks, I guess. But do you have a recommendation? I’m sure a simple website won’t cause any problems on a raspberry pi.

      • Double_A@discuss.tchncs.de
        link
        fedilink
        English
        arrow-up
        0
        ·
        1 year ago

        The main issue is not the website itself, but opening your network to be reachable from the internet in a safe way.

          • Meow.tar.gz@lemmy.goblackcat.com
            link
            fedilink
            arrow-up
            1
            ·
            1 year ago

            Yeah CGNAT makes things a pain in the ass but it’s not a show stopper. Get a cheapie cloud VPS and install NGINX Proxy Manager (NPM) on it. Then do a WireGuard tunnel between your server and the cloud VPS. Problem solved. Or you could use Cloudflare tunnels but I wouldn’t recommend that.

      • innercitadel@lemmy.nz
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        Ah OK, I might have assumed wrong then that running a server on ARM is a little trickier. Never done it. Only ever used nginx for my websites on my VPS. Don’t want to deal with the security and uptime headaches of running my websites on my home server.

        • kglitch@kglitch.social
          link
          fedilink
          arrow-up
          1
          ·
          1 year ago

          I was a bit nervous about this too but I just set up a kbin instance on ARM (nginx, php, postgres, redis, and more) and didn’t notice any difference. Totally straightforward. And the VPS costs half as much as the x86 equivalent from the same host.