Elektrine lite

← Feed

@shanselman@hachyderm.io

Post #1987431

2022-12-19 01:56 UTC

A reminder, if you own your own domain you can quickly setup webfinger like this https://www.hanselman.com/.well-known/webfinger (can just be a static file, or dynamic) so that if someone searches mastodon (use me as an example) for @shanselman then it will call out to my domain, find me, and tell you my aliases, which is my account at hachyderm.io. Cool eh? Should take you just a few min to implement!

Replies (30)

  • @eatonphil@hachyderm.io 2022-12-19 01:58

    @shanselman@hachyderm.io if they just search for your mastodon username how do they know to check that domain? If you said if someone searched mastodon for hanselman.com then @shanselman@hachyderm.io would turn up that would make more sense to me.

    Open ##3198289

  • @rowdypixel@hachyderm.io 2022-12-19 01:59

    @shanselman@hachyderm.io awesome. I wanted to set up my domain but it feels like way too much work to run a whole instance just for me. This is a nice compromise

    Open ##3198299

  • @jippi@expressional.social 2022-12-19 02:00

    @shanselman@hachyderm.io it's such a huge quality of life to do that. I've tried to compile a list of most hosting platforms on https://guide.toot.as/guide/use-your-own-domain/ where it Wil generate the code for you 🎉 it's not perfect, but it's a start (and open source)

    Open ##3198302

  • @shanselman@hachyderm.io also great for things like having a consistent username to share without having to change it everywhere when you switch instances later on

    Open ##3198305

  • @amcjen@hachyderm.io 2022-12-19 02:14

    @shanselman@hachyderm.io This is awesome! I had no idea. 🖤

    Open ##3198307

  • @shanselman@hachyderm.io I think it's a big deal that MSNBC started actively using their mastodon account today. That plus CNN and BBC is 90% of what I used Twitter for, and people like me could well be 30% or more of the Twitter base.

    Open ##3198308

  • @ddeptford@mas.to 2022-12-19 02:21

    @shanselman@hachyderm.io thanks for the tip Scott!

    Open ##3198309

  • @lkanies@hachyderm.io 2022-12-19 04:47

    @shanselman@hachyderm.io I had no idea this spec existed. Thanks!

    Open ##3198310

  • @anant@social.anantshri.info 2022-12-19 06:01

    @shanselman@hachyderm.io just remember this will act like a catchall. so @shanselman@hachyderm.io or @nobody@hanselman.com or @XYZ@hanselman.com all will point to your hachyderm.io id if you keep it static.

    Open ##3198311

  • @shanselman@hachyderm.io @mike@lap.social Would be cool if just a change in this file would be needed for switching instances to keep your account ID, followers. So the instance is basically backend.

    Open ##3198313

  • @mistial@defcon.social 2022-12-19 06:27

    @shanselman@hachyderm.io while you are at it, if you use PGP/GPG, you can set up automatic key discovery. https://teknikaldomain.me/post/pgp-key-discovery-mechanisms-explained/ Basically, a PGP key goes in .well-known/openpgpkey/hu/[hash].

    Open ##3198316

  • @adipolak@mastodon.online 2022-12-19 06:57

    @shanselman@hachyderm.io thanks fir sharing. how did you add emojis to your name?

    Open ##3198317

  • @dcreemer@sfba.social 2022-12-19 06:57

    @shanselman@hachyderm.io nice! I have done this too — I appreciate the tip.

    Open ##3198320

  • @amxmln@mastodon.social 2022-12-19 08:01

    @shanselman@hachyderm.io will that also take care of rel=me link verification? Because then I'd not have to remember to update my site when I switch instances. 🤔

    Open ##3198321

  • @dilski@hachyderm.io 2022-12-19 08:49

    @shanselman@hachyderm.io this is really cool. I hope that as we unwind from the centralised social medias, more folk use and take part in these open protocols. That sentence sounds very blockchain-bro-ish. I mean this in a "I love RSS and web forums" kinda way

    Open ##3198322

  • @sickcodes@sick.social 2022-12-19 09:07

    @shanselman@hachyderm.io Thanks dude, adding now

    Open ##3198323

  • @heygambo@hachyderm.io 2022-12-19 09:18

    @shanselman@hachyderm.io Hey just added it! Thanks for the tip!

    Open ##3198324

  • @sstranger@techhub.social 2022-12-19 09:36

    @shanselman@hachyderm.io I just did it for my Github pages blog site.

    Open ##3198325

  • @shanselman@hachyderm.io I did it using Cloudflare Workers. This way I can easily apply it to all my domains!

    Open ##3198326

  • @shanselman@hachyderm.io Oh, that's interesting. I'll try this today with my domain. Thanks.

    Open ##3198327

  • @warkittens@infosec.exchange 2022-12-19 11:23

    @shanselman@hachyderm.io God, stop making me feel guilty for not seeing up my domain. /sarcasm obvs This is really awesome. I just need to... Set up my domain.

    Open ##3198328

  • @jaydisc@hachyderm.io 2022-12-19 12:08

    @shanselman@hachyderm.io This is great. Thanks!

    Open ##3198329

  • @eirliani@home.social 2022-12-19 12:36

    @shanselman@hachyderm.io Super 😎 cool. Thank you, Scott!

    Open ##3198330

  • @andrew@alinke.com 2022-12-19 12:57

    @shanselman@hachyderm.io I’ve never heard of this. Thanks. Will poke at it later today.

    Open ##3198331

  • @nygren@hachyderm.io 2022-12-19 14:36

    @shanselman@hachyderm.io Blog posts on how to set up WebFinger forwarding with Apache and ngnix: https://erik.nygren.org/mastodon-aliases.html https://gist.github.com/haykinson/e3b7004d8e7436bf4486964b89af4ca1

    Open ##3198332

  • @juno@hachyderm.io 2022-12-19 17:12

    @shanselman@hachyderm.io gist on how to set up Mastodon custom domain forwarding with GitHub Pages https://gist.github.com/junosuarez/012755df0243ad17d942ddf26eb707a7

    Open ##3198340

  • @craveytrain@hachyderm.io 2022-12-19 18:16

    @shanselman@hachyderm.io I had no idea. Thank you.

    Open ##3198348

  • @ben@m.twos.dev 2022-12-20 07:05

    @shanselman@hachyderm.io @SwiftOnSecurity@infosec.exchange How does it know to call out to hanselman.com when @shanselman is entered?

    Open ##3198349

  • @prosumer@mastodon.social 2022-12-20 22:11

    @shanselman@hachyderm.io Thanks! Found your post after setting up my own Pleroma instance, but I’m not sure how long that experiment will last. Can I reuse my “handle” (me@mydomain.tld) using this technique if/when I shut down my own instance? (Which is now serving the webfinger data for that handle)

    Open ##3198354

  • @bl@hachyderm.io 2022-12-22 21:04

    @shanselman@hachyderm.io sweet! Going to setup mine. Thanks man!

    Open ##3198355