For some months now, I’ve been trying to set up an Mbin instance, since as it’s more manual than the other softwares I found, and I understand things better if I can see the logic behind them. I’d rather do that before going for automated processes where if something breaks, I don’t know how to handle. However, trying to figure things out as I go, it’s so much stuff that I figured out instead what I knew was very little.

As I was also interested in hosting other sites, this made me reevaluate things, and turns out several things I don’t know, like how to host two sites in a same machine, how to handle horizontal attacks, what some tools are used for, etc.

So going back to the title, what to study? Maybe some specific book? Private classes/courses? Online tutorials? Something else? Just no university suggestion, please - from experience, they are extremely shallow at best.

Thanks in advance!

  • tobz619@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    9 hours ago

    A website is just a html page that lives on some computer somewhere and is being served by a program which tells the computer which html page to show when given a port + path to follow.

    All internet connected computers have IP addresses that we can use and DNS is the phonebook that connects IP addresses to domain names. (To test this, ping google.com in terminal, then copy and paste the IP address ping shows you into your address bar).

    The webserver/reverse proxy in this case is our program which tells your machine what to send and when: these are programs like traefik, caddy, Apache, nginx et al. On top of this, it doesn’t have to be just HTML files, it can be actual files, or services or programs you’ve written.

    External computer: “I want the contents of 10.11.12.13:443/some/path”

    [DNS Machinery and Tubes]

    Hosting machine: “Someone wants the contents of port 443 and some/path. Found the contents, let me send these back to them”

    [Internet machinery and tubes]

    External computer: “I have received the contents”

    As an aside, if you’re behind Carrier-Grade NAT (aka, you can’t actually reach your machine from your external IP address because you actually share it with a bunch other people) then you can use a VPN like tailscale (or headscale) to have a tunnel connection between the machines you require to interact/

    • frongt@lemmy.zip
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      6 hours ago

      Do you think people still know what a phone book is? Or are we old?

      • tobz619@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        6 hours ago

        Ow, my back xD. I’m struggling to think of some other key-value mapping that’s available in the real world that works tbf. I was gonna say TV Channel numbers to Channel names…but then I’m really showing my age lmao

        • Auster@thebrainbin.orgOP
          link
          fedilink
          arrow-up
          1
          ·
          5 hours ago

          I’m around my 30’s and I also struggle to think of examples not at least as old as me. e.e’’