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
    ·
    2 years 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.

    • railsdev@programming.dev
      link
      fedilink
      English
      arrow-up
      0
      arrow-down
      1
      ·
      2 years ago

      Lol, I wonder what terrible programming language you’re working in. Why would you need x86 to host a website?

  • purahna@lemmygrad.ml
    link
    fedilink
    English
    arrow-up
    0
    arrow-down
    1
    ·
    2 years ago

    I always love Flask for this, it’s a super simple python web server that is basically fully batteries included, just write a couple lines of python and throw your html in either /static or /templates, depending on whether it’s dynamic or not, and you’re live. It’s not gonna move mountains but it’s not meant to.

      • purahna@lemmygrad.ml
        link
        fedilink
        English
        arrow-up
        0
        arrow-down
        1
        ·
        2 years ago

        Much lower and you shouldn’t care. As long as you’re serving less than one request per second, you will not need to care about performance. If you do, sanic and vibora are drop-in flask replacements and they are both much more performant.