• lazylion_ca@lemmy.ca
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago
    1. Could users set a temporary entry in their hosts file pointing the .ml domains to public IPs in order to regain access to their account if they needed to?

    2. Can Lemmy federate to an IP address directly or will the settings only accept an fqdn?

    3. Will a Lemmy instance work behind a reverse proxy.

    Thanks for taking the time to answer questions.

    • sol87@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 year ago

      There are several problem with this including total lack of SSL without the proper cert for that other domain, also Lemmy.ml’s IP seems to be running a reverse proxy so the internal IP that we would want to connect to is not visible to the world this is common for web security, the owners must set allowed domains and ports in their config file.

      If none of that was a problem Lemmy itself does not do well with changing domains, as highlighted here: https://lemmy.nrd.li/comment/190200

    • grandkaiser@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago
      1. Yes. Unless there’s some kind of crazy domain-level hi-jinks involved with Lemmy (I am not versed in Lemmy), pointing directly to the IP will work if you bypass it by spoofing your DNS (Hosts file, for example).
      2. I don’t know how Lemmy federation works, sorry :(
      3. See #2

      Sorry that I couldn’t answer more of your questions.