G’day, I just got Lemmy going on my site https://apollo.town and it doesn’t appear to be federating. I ran through the Lemmy troubleshooting docs and I can return valid JSON from the site, but I can’t look up anything on lemmy.ml from my site - although I can look up my site from lemmy.ml.
Caddy is my reverse proxy with the world’s simplest config:
root@apollotown:~/lemmy# cat Caddyfile
# apollo.town Lemmy instance
apollo.town {
reverse_proxy :4040
}
During initial setup, did you specify to federate with yourself? Clicking the instances link at the bottom of your page, shows:
If you specify an instance to explicitly federate with, all other instances are disallowed.
When I go look in the admin settings, both Allowed and Disallowed boxes are blank, but it’s possible I put my host in somewhere I wasn’t supposed to in the configs. Let me double check that, where in the configs files would I be looking?
Sorry I have no idea. I’ve just never seen an instance “linked” to itself. Something is definitely wrong. Might be easier to blow away the database and start again.
Blew away the database and it’s still there. Removed all references to apollo.town in the docker-compose, lemmy.hjson, and nginx, other than in the lemmy.json where it SPECIFICALLY says to put your domain name. I’ll change that anyway to try it
Ah HA! Whatever I add to lemmy.hjson is added as a federated instance.
# the domain name of your instance (eg "lemmy.ml") hostname: "lemmy.ml"
And now lemmy.ml is listed as my only linked instance.
yeah that should be your own hostname… “apollo.town”.