Hi, I wanted to host a personal Lemmy instance online (for just myself, I don’t think I can take the upkeep for other users - please let me know if this is not possible) and wanted to understand how to “attach” a CDN service to it.

The idea behind doing this is that I’m in the US but I’m looking to host a server in Europe. I am looking into Cloudflare’s free CDN service, but it would be great if someone could point me towards how I can configure this setup to speed up the loading time for my Lemmy instance (which is going to be far away from me, geographically).

I would also like to know about your setups and how you have hosted Lemmy.

Thanks!

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

    Thank you. I’m trying to understand how exactly is using CF’s nameservers letting Cloudflare intercept traffic from around the world to my instance?

    • jerry@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 year ago

      When you type a TLD into the internet, a nameserver tells where that address is. Right now it’s going to your instance, to work, cloudlfare needs to be the address. Cloudflare isnt something you install on your server, it’s a nother server.

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

        If Cloudflare just needed the address, they could query the domain name I would provide them during the setup process (which they do, in order to set up the CDN). Why their DNS servers instead of my own?

        My apologies, I think I’m missing a crucial point here which is why I’m asking the same question multiple times. Thanks so much for your help!