Skip to content Paweł Grzybek

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.

My Mastodon profile is searchable via my own domain and instance’s domain
  1. On your server, create a file /.well-known/webfinger. In my case it is https://pawelgrzybek.com/.well-known/webfinger.
  2. Copy/pasta 🍝 content of ${INSTANCE_ORIGIN}/.well-known/webfinger?resource=acct:${YOUR_USERNAME}@${INSTANCE_HOST}. In my case it is https://mastodon.social/.well-known/webfinger?resource=acct:pawelgrzybek@mastodon.social.
  3. 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 😙

Leave a comment

👆 you can use Markdown here

Your comment is awaiting moderation. Thanks!