Inquiry Regarding Placement of .well-known Folder for Hosting apple-app-site-association File in non-root path

Subject: Inquiry Regarding Placement of .well-known Folder for Hosting apple-app-site-association File

I am writing to inquire about the placement of the .well-known folder for hosting the apple-app-site-association file. Currently, we are working on configuring deep linking for our iOS app, and we have encountered a question regarding the appropriate location for hosting the apple-app-site-association file.

Our domain, service2-uat.mom.gov.sg, hosts various web assets, and we are considering placing the ".well-known" folder in a non-root directory, specifically at "https://service2-uat.mom.gov.sg/fwmc/api/stg/permanent/.well-known/apple-app-site-association", instead of the root directory.

Before proceeding with this configuration, we wanted to confirm whether it is permissible and supported by Apple's specifications and requirements. Our objective is to ensure compliance with Apple's guidelines while optimizing our server structure.

Could you please provide guidance or clarification on whether hosting the .well-known folder in a non-root directory is acceptable for serving the apple-app-site-association file?

Additionally, if there are any specific considerations or best practices related to this configuration, we would greatly appreciate your insights.

Thank you very much for your assistance in this matter. We look forward to hearing back from you soon.

Best Regards, Senthil S