Jump to content

.well-known folder with file vertification

Recommended Posts

  • 3 months later...
  • Replies 6
  • Created
  • Last Reply

Top Posters In This Topic

Hey,

I'm looking to see if something is possible with SquareSpace before we agree to migrate over. 

We work with several partners who insist on doing validations with a file on the root domain rather than the preferred TXT record validation on DNS. For this we have to put a file in a folder at the root of the website in a folder called /.well-known. The file for example would be called test.devicemenagement and it would contain a text string for validation. 

This would then enable various partners to validate us on www.domain.com/.well-known/test.devicemanagemant

To further confuse this we need to add in a MIME type or contact to make sure the file extension of *.devicemanagement is downloaded as a JSON file.

Does anyone have any ideas of this is possible with Squarespace?

Thanks

Michael

Link to comment
  • 5 months later...
18 minutes ago, WorkplaceConsultant said:

I need to upload a JSON file to my site and assign a custom link: /.well-known/did.json. If I understand correctly, that is not possible.

It is not possible.

Squarespace is a serverless platform, so this means you don't have access to a server and cannot place files in URL paths with prefixes like /.well-known/. On Squarespace, all files are store in /s/.

You'll need to host the file on a different web host or use an alternative method of achieving your goal.

About: Squarespace Circle Leader since 2017. I value honesty, transparency, diversity and great design ♥.
Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™. 
Content: Links in my posts may refer to SF Digital products or may be affiliate links.

Catch up on all the release notes and announcements 2023 [for Circle members only]. There's a public version here too!
If I helped, you can thank me by clicking one of the emojis below. If you prefer, you can buy me a coffee.
Improve your online store with our extensions.

Link to comment

It depends what you are using it for, and the terms. Often a specific file can be hosted on a domain by using different subdomains for the different functions that share it.

About: Squarespace Circle Leader since 2017. I value honesty, transparency, diversity and great design ♥.
Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™. 
Content: Links in my posts may refer to SF Digital products or may be affiliate links.

Catch up on all the release notes and announcements 2023 [for Circle members only]. There's a public version here too!
If I helped, you can thank me by clicking one of the emojis below. If you prefer, you can buy me a coffee.
Improve your online store with our extensions.

Link to comment
On 11/16/2022 at 6:43 PM, Michael_Thomson said:

Hey,

I'm looking to see if something is possible with SquareSpace before we agree to migrate over. 

We work with several partners who insist on doing validations with a file on the root domain rather than the preferred TXT record validation on DNS. For this we have to put a file in a folder at the root of the website in a folder called /.well-known. The file for example would be called test.devicemenagement and it would contain a text string for validation. 

This would then enable various partners to validate us on www.domain.com/.well-known/test.devicemanagemant

To further confuse this we need to add in a MIME type or contact to make sure the file extension of *.devicemanagement is downloaded as a JSON file.

Does anyone have any ideas of this is possible with Squarespace?

Thanks

Michael

I have the same question, have you  found a solution or work-around in the meantime?

Thank you so much!

Wpl-c

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.