Use your domain for the Mastodon account without hosting an instance
Look at this trick! You can access my Mastodon account via @pawelgrzybek@mastodon.social
and @pawelgrzybek@pawelgrzybek.com
, even though I don’t host my own instance.

- On your server, create a file
/.well-known/webfinger
. In my case it ishttps://pawelgrzybek.com/.well-known/webfinger
. - Copy/pasta 🍝 content of
${INSTANCE_ORIGIN}/.well-known/webfinger?resource=acct:${YOUR_USERNAME}@${INSTANCE_HOST}
. In my case it ishttps://mastodon.social/.well-known/webfinger?resource=acct:pawelgrzybek@mastodon.social
. - Job done! Share with the rest of the world!
I know fuck all about the Webfinger protocol. Full credit for this magic goes to Alex Guyot. Have a fab weekend y’all 😙