Host Apple Associated Domain file on AEM | Community
Skip to main content
iamnjain
Community Advisor
Community Advisor
February 22, 2023
Solved

Host Apple Associated Domain file on AEM

  • February 22, 2023
  • 1 reply
  • 2185 views

Hi All,

 

We have a iOS app for our website and need to link it with website, So links opened on Mobile, would open on App. We need to host apple-app-site-association(AASA) file on AEM Server. Can you please guys help on steps to follow and where to put it actually in AEMaaCS?

 

 

 

@arunpatidar @nitesh_kumar-1 @nirmal_jose @briankasingli @riteshmittal @punagpal @lukasz-m Jörg_Hoh DEBAL_DAS Vijayalakshmi_S

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by arunpatidar

Right now, what we are planning to do is, We will place this file DAM and when a request comes to Dispatcher with https:// <domain>/.well-known/apple-app-site-association, we will redirect to DAM to fetch this file. Is this good approach? 

 

I need suggestion on this Community!


Creating technical file inside content area is always a risk. If someone has access they may delete this file.

 

But yes, you can go ahead with this approach, many use same approach to host robots.txt and other technical files.

You just need to write redirect rule at dispatcher.

 

For example rewrite rule for robots.txt

RewriteRule ^/robots.txt$ /content/dam/exampleco/robots.txt [NC,PT] 

1 reply

arunpatidar
Community Advisor
Community Advisor
February 22, 2023
iamnjain
Community Advisor
iamnjainCommunity AdvisorAuthor
Community Advisor
February 22, 2023

Hi @arunpatidar ,

 

We have a file already with us. We need the steps to place it at server/dispatcher level at /.well-known folder as suggested on Apple documentation.

We are using AEMaaCS.

Anyone can help, please?

 

arunpatidar
Community Advisor
Community Advisor
February 23, 2023

I am not sure If this is helpful or not but just to let you know in AEMaaCS, you can't do any changes manually. You have to deploy via code.

 

To deploy dispatcher changes there are set of rules, please check if those rules allow you to put this file in dispatcher, please go ahead 

https://experienceleague.adobe.com/docs/experience-manager-learn/cloud-service/local-development-environment-set-up/dispatcher-tools.html 

Arun Patidar