quoting nevent1q…5hycFor 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.