Self hosting: real game starts today

@selfhosted

So, it’s done: my main domain has finally got its transfer to Hostinger, new provider where I have the VPS I’m experimenting in.

Real game with WordPress multisite/multilingual and self-hosted Fediverse starts TODAY!

#activitypub #selfhost #selfhosting #wordpress #yunohost

  • lemmyvore@feddit.nl
    link
    fedilink
    English
    arrow-up
    12
    ·
    11 hours ago

    With WordPress (or any CMS) keep in mind that if you don’t really need visitor-facing dynamic features (like comments), then you can self-host the admin and content editing completely privately, and only export a static “dump” of the finished website pages as plain HTML/CSS/JS and images.

    You can serve these static files fairly efficiently yourself with a small HTTP server, or upload to a CDN service which will take care of things like redundancy, availability, replicated content for faster access from certain geographic areas, you won’t care about denial of service or bots etc.

    Meanwhile your CMS software is completely isolated from break-ins or drive-by bot attacks. As a perk, you can experiment with different CMS freely without fundamentally changing your approach, because they all produce static files one way or another. You can try for example Hugo, or a fediverse-enabled microblogging app like Pleroma, Misskey or even Mastodon.

    • mic_check_one_two@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      1
      ·
      14 minutes ago

      Yeah, WordPress is an extremely common vector for automated attacks. It’s highly expandable, but those plugins often aren’t secure. Even my tiny site (it isn’t running WordPress, and doesn’t even have a landing page because I only use it for my own stuff) sees a ton of attempted Wordpress attacks.

      • tburkhol@slrpnk.net
        link
        fedilink
        English
        arrow-up
        3
        ·
        7 hours ago

        vim index.html

        <html><header><title>Welcome</title></header> 
        <body><h1>Welcome</h1>  
        <p>Here's my random thoughts and links I keep forgetting  
        </body></html>
        

        :wq

        Why would I want to learn wordpress, much less spin up a database, for that?

      • valhalla@social.gl-como.it
        link
        fedilink
        arrow-up
        1
        ·
        7 hours ago

        @tofu @khleedril /me sits on a rocking chair

        listen, young grasshopper, back in my time we didn’t have this wordpress thing you’re talking about, nevermind nextcloud. back in my time if you wanted to host an homepage you had to write your html by hand, with a dip pen, on parchment, uphill in the snow!

        ok, I may be mixing up things a bit, but you don’t have to be that old to have started self hosting pages when wordpress didn’t exist and the alternatives were writing html directly with a text editor or, a few years later, using some kind of graphical editor that saved pretty bad html pages you could load on the server like your handwritten ones.

        (or you have to be old, and I am old :D )

        • tofu@lemmy.nocturnal.garden
          link
          fedilink
          English
          arrow-up
          1
          ·
          5 hours ago

          I do remember those times as well! Shady free webspaces where you could host some pages and images. But I haven’t seen people doing that a lot in the recent years.

    • Elena Brescacin@poliversity.itOP
      link
      fedilink
      arrow-up
      3
      ·
      edit-2
      11 hours ago

      @khleedril @selfhosted It is 25 years I work on web, I started this self-hosting experience on my personal website, through YunoHost, which is a web-based application manager. Users say terminal knowledge is not needed, but, well, it helps a lot!
      I’m not a sysadmin, can’t manage a VPS from scratch. But I do my best to make things work.

    • Elena Brescacin@poliversity.itOP
      link
      fedilink
      arrow-up
      4
      ·
      16 hours ago

      @cybervseas I have learnt how to do it through YunoHost, I will transfer the pattern to the new domain - I’ve built nothing yet, regarding interface and posts. I want to have a working infrastructure before.