Why Nostr? What is Njump?
2023-02-23 10:00:07
in reply to

nostradamus on Nostr: #[2]

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
npub10e533e76mceg500e8wjg6waj5arn67r6hh6gr2u9p2eresvvq7ns6fk0r6