Easiest way would be to set up a new instance on a subdomain. Federation problems will be due to keys for the domain being cached on other instances, including for the instance actor.
Lemmy Support
Support / questions about Lemmy.
I replied to your issue, the problem is something different, recreating an instance should be totally fine.
Thank you! I have recorded the log of the curl command and am trying to understand it. I will reply with it in a bit.
As for the federation... The federation appears to be working well again, at least for the moment. I made no changes, hopefully it stays!
Sending comments from your instance to lemmy.ml doesnt need webfinger, so that is expected. Webfinger is only needed for profiles and mentions iirc.
I tried to reply from my instance (https://mander.xyz/post/655), but at the moment the federation is not working again. This is what I wrote:
During the day the federation will work during a few hours/minutes, and then it stops working again. For example, if I try to navigate to a lemmy community from my instance at this moment, I get the following dns lookup error:
lemmy_1 | 2021-12-12T12:11:34.411206Z ERROR lemmy_websocket::handlers: Error during message handling error sending request for url (https://lemmy.ml/.well-known/webfinger?resource=acct:[email protected]): error trying to connect: dns error: failed to lookup address information: Try again
Between my and other lemmy instances (forum.purplerabbit.xyz, sopuli.xyz, dissonanz.xyz) federation appears to work fine continuously. I have also tested whether the federation between lemmy and other instances is also not working during the same period time, but they federate just fine. It appears to be a problem specific to my instance.