As I understand, it can be done through the .htaccess file on my websiteโ€™s root directory, but the tutorials Iโ€™ve seen are all about redirecting web traffic and that hasnโ€™t helped me.

Reply to this note

Please Login to reply.

Discussion

**HOLY SHIT, GUYS โ€” I GOT IT WORKING!** โšก๏ธ๐Ÿคฏ

Someone, please test by paying any amount to **dmnyc@dmnyc.net**

Howโ€™d you get it working? ๐Ÿ˜…

Turns out, I was overthinking it. Your Lightning Address is just pointing to a file location on a webserver. Even though it *looks* like an email address, itโ€™s actually just something your wallet uses to point at your LNURL.

So, for example, if you have an address like:

`funkychicken69@walletofsatoshi.com`

itโ€™s pointing to a location called:

`https://www.walletofsatoshi.com/.well-known/lnurlp/funkychicken69`

If you have your own HTTP server (mine runs Apache), you would simply add the following line to your .htaccess file:

`Redirect /.well-known/lnurlp/[name] https://www.walletofsatoshi.com/.well-known/lnurlp/funkychicken69`

Replace [name] with the name in your NIP-05 address before the @ symbol, and edit the path to your Lightning Address.

If youโ€™re using Alby, your address would be:

`https://getalby.com/lnurlp/[name]`

*Voilร !*

#[4]

#[4]

thanks for sharing

Saving screenshot for later , thnx

Oh wow. Easier than I thought. Finally read it, sounds easy peasy (might try that at some point)

Minor correction: Your Alby address would look like:

`https://getalby.com/.well-known/lnurlp/[name]`

Someone mind tipping me a few sats to see if this worked. Think i got it working with traefik

Amazing, thank you! So easy Iโ€™m tempted to do it from my phone while lying in bed instead of waiting until Iโ€™m at my desk tomorrow.

Update: I set this up from my phone and now have evan@evanprim.com as my lightning address. Amazing.

๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅ

Amazing. Iโ€™ve never seen this documented. So much simpler than other methods.

Also, with Alby, either `/lnurlp/[username]` or `/.well-known/lnurlp/[username]` will work. Just tried both.

Woohoo! ๐Ÿค™

I have to thank #[5] for setting me on the right path to understanding this. ๐Ÿค™

LOL, meant to put #[5] โ€” pasted the wrong npub! ๐Ÿคฃ

๐Ÿ˜‚

You're welcome sir.

Cheers!

๐Ÿคฃ

I have to thank #[5] for setting me on the right path to understanding this. ๐Ÿค™

Sent 10, it redirected to dmnyc@getalby.com in the extension

Thatโ€™s exactly how itโ€™s supposed to be working! โšก๏ธ๐Ÿค™

What did you end up going with

@#[4]

Well played man! 100 sats sent instantly!! โšก๏ธโšก๏ธโšก๏ธ

Enjoyed the confirmation message saying โ€œsats receivedโ€ ๐Ÿค™๐Ÿผ

I am way too excited about this. ๐Ÿค™

Dude, Iโ€™m jealous. Now I need tipping address for lukeonchain@satoshivibes.com

Damn you , stop adding more to jiraaaa ๐Ÿ˜