Custom Mastodon @ Domain w/o Self Hosting

 read in about 2 minutes

Going through my bookmarked items in Raindrop and discovered this post by Scott Hanselman about making yourself discoverable on Mastodon using WebFinger. Now if you search for @ANYONE@christopherhimes.com in Mastodon my profile will appear.

This is accomplished by adding the following at /.well-known/webfinger

{
  "subject": "acct:eeentropyyy@hachyderm.io",
  "aliases": [
    "https://hachyderm.io/@eeentropyyy",
    "https://hachyderm.io/users/eeentropyyy"
  ],
  "links": [
     {
      "rel": "http://webfinger.net/rel/profile-page",
      "type": "text/html",
      "href": "https://hachyderm.io/@eeentropyyy"
    },
    {
      "rel": "self",
      "type": "application/activity+json",
      "href": "https://hachyderm.io/users/eeentropyyy"
    },
    {
      "rel": "http://ostatus.org/schema/1.0/subscribe",
      "template": "https://hachyderm.io/authorize_interaction?uri={uri}"
    }
  ]
}

To get this folder to show up in the site folder for this jekyll site I had to add the /.well-known folder to the include.

You can search for me now using anything before @christopherhimes.com which looks like @ANYONE@christopherhimes.com where ANYONE is replaced with whatever you want. I can also be tagged the same way with @ANYONE@christopherhimes.com getting @eeentropyyy swapped in after posting.

Here is an example post I made testing it out.

Listening to: Nas - N.Y. State of Mind

This is day 71 of #100DaysToOffload.

Likes and Boosts

@shanselman@debby@hear-me.social

Comments

Comment on this blog post by publicly replying to this Mastodon post using a Mastodon or other ActivityPub/​Fediverse account. Known non-private replies are displayed below.

No known comments, yet. Reply to this Mastodon post to add your own!