Own domain
Alby allows you to use your lightning addresses with custom domains. This is how you do it.
1ī¸âŖ Setup your @getalby.com lightning address
Sign up for your Alby account and choose a lightning address.
2ī¸âŖ Find your LNURL
Open https://getalby.com/.well-known/lnurlp/<username>
in your browser and save this document to your local computer. (CTRL+S)
Remove the filename extension (e.g. json) from the file.
You should now have a file named <username> (no file extension) and with contents similar to this one:
Please, do not change the content of that file!
3ī¸âŖ Upload the file to your website
Your hostname must be hosted on the root domain (no www).
Upload the file from the step before to this location:
Example
You want to setup me@example.com as your lightning address. Upload the file to your webhost so it's available via this URL:
You should be able to open this URL in your browser. Try to send a payment to your newly created lightning address to test if everything works.
â That's it. You just set up a custom lightning address! đ
Contact us if you need help.
Last updated
Was this helpful?