I've been trying to set up deeplinking for our iOS app on iOS9. The first step involves creating a JSON file which I have already done so and then upload it to server. The problem I have is I've uploaded the json file to server at location: https://www.example.com/apple-app-site-association but when I check this URL on browser it is returning 404 File not found error response. I should be able to see it just like on Google's: https://www.google.com/apple-app-site-association
On the Apple Developer docs it says I have to make sure I don't save the file with extension .json so that's why .json extension is not included.
On the docs it says you have to set the file to MIME type application/json. And I believe this must be the issue as I have not done so.
My question is how do I set the MIME type of the file? I know this has to be set up somewhere server side and if it helps we are using the .NET framework for our web-app and server side code. What is the programming code for setting this file to MIME type "application/json" and on which file should this code be placed inside?
Would appreciate anyones help.