Skip to main content
amrit1993
Level 3
Nov 15, 2016 4:00 PM UTC
Solved

Domain root of a website

Hi all I need to add some files in the domain root of my AEM website for comodo validation.

Can you please help in specifying where the domain root will be ?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
-Joe-Accepted solution
Adobe Employee
Nov 16, 2016 8:57 AM UTC

You can try one of the following approaches:

1. Configure your dispatcher web server to send the file. This can be achieved in a variety of ways in apache (e.g. mod_alias).

2. Add the required file to the appropriate location in AEM. Generally the path would be something like /content/yoursite/en/<file-goes-here>.txt, and you would make use of the mod_rewrite and/or resource mapping to remove /content/yoursite/en/ from the public URL.

5 replies

smacdonald2008
Level 10
Nov 15, 2016 6:17 PM UTC

See this older community thread: https://forums.adobe.com/thread/1195166

Translate
kautuk_sahni
Level 9
Nov 16, 2016 8:28 AM UTC

I have asked internal experts to share some information here.

~kautuk

Translate
Kautuk Sahni
-Joe-Adobe EmployeeAccepted solution
Adobe Employee
Nov 16, 2016 8:57 AM UTC

You can try one of the following approaches:

1. Configure your dispatcher web server to send the file. This can be achieved in a variety of ways in apache (e.g. mod_alias).

2. Add the required file to the appropriate location in AEM. Generally the path would be something like /content/yoursite/en/<file-goes-here>.txt, and you would make use of the mod_rewrite and/or resource mapping to remove /content/yoursite/en/ from the public URL.

Translate
Adobe Employee
Nov 16, 2016 9:00 AM UTC

Note: For approach (2), the standard sites/siteadmin UIs will not allow you to place the file there, however you can make use of CRXDE (or another mechanism like a content package or the Sling REST API) to create the file.

Translate
kautuk_sahni
Level 9
Nov 16, 2016 9:09 AM UTC

Thanks a lot Joseph for sharing your thoughts here.

Adding a reference post :- http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manager.topic.html/forum__4tfa-hi_i_have_setup.html

// URL rewriting using apache mod_rewrite along with dispatcher 

~kautuk

Translate
Kautuk Sahni