Skip Navigation

Does a Lemmy instance require a domain name?

Do you need a domain name if you are hosting a Lemmy instance, or will it work fine with just an ip-address + port (e.g. <username>@<ip-address>:<port>)?

29 comments
  • it requires a name that can be addressed as https://sub.domain.name - otherwise it won't allow https inbound.

    • SSL certificates for IP addresses are possible; but they require you to outright own the IP(-range). Some large organizations do. So for individuals it's rather unheard of, but it's technically achievable.

      https://sectigostore.com/page/ssl-certificate-for-ip-address/

      • Well, I just learned something, but what does "control" the IP mean? If they are only validating a single address via http then presumably you could just use an Amazon elastic IP as long as it resolves. I doubt that letsencrypt will support that but I would be interested to know. If they do then yeah, you could presumably set up the instance using the IP as the name, but I don't know why you would want to. Apart from the fact that it would be hard to remember, could change at some point, screwing things up, it might work. I suggest OP do the necessary and report back accordingly.

  • I can't imagine it'd work without a domain, as your instance will need to talk HTTPS with other instances.

29 comments