# How do I host a json file?

**URL:** <https://community.hubspot.com/t/how-do-i-host-a-json-file/74518>\
**Category:** Blog, Website & Page Publishing\
**Created:** [February 6, 2023, 2:18am UTC](https://community.hubspot.com/t/how-do-i-host-a-json-file/74518 "2023-02-06T02:18:38Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![kmatsuda](https://avatars.discourse-cdn.com/v4/letter/k/aeb1de/32.png) [@kmatsuda](https://community.hubspot.com/u/kmatsuda)\
**Post date:** [February 6, 2023, 2:18am UTC](https://community.hubspot.com/t/how-do-i-host-a-json-file/74518/1 "2023-02-06T02:18:38Z")

</div>

I want to host a json file, how do I operate it?

Specifically, I want to publish it at the following URL

https://\<my-domain\>/.well-known/microsoft-identity-association.json

---

<div class="post-metadata">

**Author:** ![kvlschaefer](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/kvlschaefer/32/71076_2.png) [@kvlschaefer](https://community.hubspot.com/u/kvlschaefer)\
**Post date:** [February 6, 2023, 6:30pm UTC](https://community.hubspot.com/t/how-do-i-host-a-json-file/74518/2 "2023-02-06T18:30:13Z")

</div>

Hi @kmatsuda,

Thank you for reaching out to the Community!

I wanted to refer you to this [related post](https://community.hubspot.com/t5/CMS-Development/Use-JSON-from-a-file-in-a-template/m-p/514490) about hosting JSON in Hubpot, in addition to this [help article on uploading a JSON file to HubSpot](https://knowledge.hubspot.com/design-manager/add-a-javascript-file-to-hubspot).

If you have coding questions, I would recommend reaching out to the [Developer’s Forum](https://community.hubspot.com/t5/HubSpot-Developers/ct-p/developers) where subject matter experts can assist 🙂

Best,

Kristen

---

<div class="post-metadata">

**Author:** ![kmatsuda](https://avatars.discourse-cdn.com/v4/letter/k/aeb1de/32.png) [@kmatsuda](https://community.hubspot.com/u/kmatsuda)\
**Post date:** [February 7, 2023, 5:34am UTC](https://community.hubspot.com/t/how-do-i-host-a-json-file/74518/3 "2023-02-07T05:34:42Z")

</div>

Hi @kvlschaefer

Thank you for your response.

I want to publish it at the following URL

https://\<my-domain\>/.well-known/microsoft-identity-association.json

I think I can’t use “xxx.json” for the URL,  
And I can’t use “.” in the URI path name.

Is there any other way to do this?

---

<div class="post-metadata">

**Author:** ![kvlschaefer](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/kvlschaefer/32/71076_2.png) [@kvlschaefer](https://community.hubspot.com/u/kvlschaefer)\
**Post date:** [February 7, 2023, 4:11pm UTC](https://community.hubspot.com/t/how-do-i-host-a-json-file/74518/4 "2023-02-07T16:11:00Z")

</div>

Hi @kmatsuda,

Thanks for reaching back out!

Have you tried uploading the file to your HubSpot account or adding it to design manager as mentioned in the related thread? Do you have screenshots of what you’re trying to achieve within HubSpot? The more screenshots and information on steps you’ve taken within HubSpot, the better the community can assist.

Thank you!

Best,

Kristen

---

<div class="post-metadata">

**Author:** ![kim2](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/kim2/32/196987_2.png) [@kim2](https://community.hubspot.com/u/kim2)\
**Post date:** [October 8, 2024, 1:24am UTC](https://community.hubspot.com/t/how-do-i-host-a-json-file/74518/5 "2024-10-08T01:24:27Z")

</div>

I had this issue too and managed to resolve it. Try this: [https://community.hubspot.com/t5/APIs-Integrations/Issue-Accessing-well-known-Directory-for-Apple-MDM-Configuration/m-p/1051371#M77189](https://community.hubspot.com/t5/APIs-Integrations/Issue-Accessing-well-known-Directory-for-Apple-MDM-Configuration/m-p/1051371#M77189)
