Hi #nostr, can anyone help me out please? I'm trying to figure out how to get myself nostr verified and have the domain be my website which is a squarespace hosted one. I've looked at the online tutorials which all talk about creating a json file to upload but don't believe squarespace allow this. Is there any way to have my verified address be @rwphotos.com.au? #asknostr #AUStriches
I only know how if you have access to the root level of your domain either by ssh or ftp. I have a hosted web server and domains where I can do that and add the json file to known_hosts. Sorry not sure how square space does it. Do they have support?
I don't know about Squarespace, but you may be able to host your nostr stuff at http://rwphotos.com.au while at the same time hosting your Squarespace at http://www.rwphotos.com.au
Ooh interesting. Don't suppose you know of any tutorials that might walk me through how I'd do that? 🙏
I don't know Squarespace. But I assume you have a domain name registered with a registrar somewhere, and that in that domain's DNS records you have an A record that points your http://www. subdomain to your Squarespace IP address. What I wonder would work is if you had a second A record which points your http:// root domain to some other host which hosts your Nostr records. I don't know that this is possible or that this is what your setup is, but it could work. As for setting up your Nostr records on a separate host, I have a blog about how to do that with Sveltekit and Vercel, NVK has another on how to do it with GitHub pages. In summary if Squarespace doesn't support it, you may be able to work around it using your domain name DNS configuration.
You cant do it with squarespace directly.(or Wix, or other framework based website service providers) as they dont allow for custom files at all paths. If you're certain to stay with Squarespace, you can front the site with a service like Cloudflare. Use Cloudflare as an intercept to your squarespace website and perform a URL rewrite for the .well-known/nostr.json resource, along with response headers for CORS.