What is Nostr?
djbooth007 / DJ Booth
npub1rqh…kx5z
2023-02-23 04:40:06
in reply to nevent1q…x90c

djbooth007 on Nostr: For NIP05, only need 2 files. Go to your website root folder (ie, httpsdocs, ...

For NIP05, only need 2 files.

Go to your website root folder (ie, httpsdocs, public_html - or something similar)

Create a folder named .well-known
It must start with a period.

In /.well-known folder, create file named .htaccess
Also must start with a period.

.htaccess file should contain this text:

Header set Access-Control-Allow-Origin "*"
Header set X-Frame-Options "SAMEORIGIN"

Create a new file in /.well-known named nostr.json
The contents should be:

{"names":{"bitcoinhatguy":"81e2f952ac7e143f9f661d63da17071de5ee6077a9e3aea8638298c13e13941d"}}

That long string has been calculated from your npub. Hope this helps.
Author Public Key
npub1rqhmkhcrrlerrm3jqu03sulxnhwpmt8dqws4chyx806qkk69rats48kx5z