How to Use Your Domain on Bluesky

By  on  

Bluesky is a hot new social networking platform that functions like Twitter from Twitter's original founder. New users are flooding into the platform as a respite from Elon Musk's vision of Twitter and the fumbles that have happened since his takeover. Upon signing up for Bluesky, your username defaults to {yourdesiredhandle}.bsky.social, but there's a better and more secure option.

One of Bluesky's awesome features is the ability to base your username on a hostname's DNS record. In short, if you control a hostname's DNS, you can essentially verify yourself. For example, my Bluesky username is davidwalsh.name. Let's look at how you can base your username after a domain you control!

Change Your Handle to Your Domain

Go to Bluesky's Settings page and click "change my handle"

A modal will display where you can simply change the handle but you'll want to click "I have my own domain":

Another modal will follow asking for the domain you'd like to use and provides you with a TXT DNS record entry you need to create on that domain's DNS:

The DNS record above is a sample value, so I haven't exposed any sensitive information

With the record information provided by Bluesky, go to your DNS provider and add the TXT record with the value provided by Bluesky. After adding the record, click Verify DNS Record back at Bluesky. Once Bluesky verifies the record, your username will then be your domain!

Recent Features

  • By
    7 Essential JavaScript Functions

    I remember the early days of JavaScript where you needed a simple function for just about everything because the browser vendors implemented features differently, and not just edge features, basic features, like addEventListener and attachEvent.  Times have changed but there are still a few functions each developer should...

  • By
    Welcome to My New Office

    My first professional web development was at a small print shop where I sat in a windowless cubical all day. I suffered that boxed in environment for almost five years before I was able to find a remote job where I worked from home. The first...

Incredible Demos

  • By
    CSS @supports

    Feature detection via JavaScript is a client side best practice and for all the right reasons, but unfortunately that same functionality hasn't been available within CSS.  What we end up doing is repeating the same properties multiple times with each browser prefix.  Yuck.  Another thing we...

  • By
    Using MooTools For Opacity

    Although it's possible to achieve opacity using CSS, the hacks involved aren't pretty. If you're using the MooTools JavaScript library, opacity is as easy as using an element's "set" method. The following MooTools snippet takes every image with the "opacity" class and sets...

Discussion

  1. Khanh

    Hi David, I’m a reader of your blog.
    I tried to join Bluesky but I have no invitation code. Do you have any?

    Thank you.

Wrap your code in <pre class="{language}"></pre> tags, link to a GitHub gist, JSFiddle fiddle, or CodePen pen to embed!