Custom Mastodon Domain without Self Hosting

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.

Post by @eeentropyyy@hachyderm.io
View on Mastodon

This is day 70 of 100 Days To Offload.

Listening to: Nas - N.Y. State of Mind
Tags
Christopher Himes

I'm Christopher Himes (he⁠/⁠him), an accomplished tech professional living in Metro Detroit. I'm currently looking for work as a product owner or developer.

More about me

Comments

This blog uses a Mastodon and webmentions for comments. You can comment by replying on Mastodon/ActivityPub/Fediverse account or webmention.

Recent Posts