Setting Your Bluesky Handle to Your GitHub Pages Subdomain
Follow these simple steps to set your Bluesky handle to your GitHub Pages subdomain (e.g., your-username.github.io):
- Open Bluesky Settings:
- Click on your profile picture thumbnail in the left menu and select "Settings."
- Scroll down to the "Advanced" section and click "Change handle."
- Enter Your Subdomain:
- Choose "I have my own domain", then click on "No DNS Panel" and enter your subdomain (e.g., your-username.github.io).
- Bluesky will provide you with a verification code.
- Create a Well-Known Directory:
- In your GitHub repository for your subdomain, create a .well-known directory in the root of the repository if it doesn't already exist.
- Create Verification File:
- Inside the .well-known directory, create a file named atproto-did.
- Add Verification Code:
- Edit the atproto-did file and add the following content:
did:plc:YOUR_VERIFICATION_CODE
- Push Changes to GitHub:
- Save the file and push your changes to GitHub. Make sure the file is accessible at:
https://your-username.github.io/.well-known/atproto-did
- Verify on Bluesky:
- Go back to Bluesky settings.
- Click on "Verify Text File".
- Bluesky will check the file content to verify your domain.
Once verified, your handle should be set to your GitHub Pages subdomain (e.g., @your-username.github.io).