Domain root of a website | Community
Skip to main content
amrit1993
Level 3
November 15, 2016
Solved

Domain root of a website

  • November 15, 2016
  • 5 replies
  • 1674 views

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.
Best answer by -Joe-

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
November 15, 2016

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

kautuk_sahni
Community Manager
Community Manager
November 16, 2016

I have asked internal experts to share some information here.

~kautuk

Kautuk Sahni
-Joe-Adobe EmployeeAccepted solution
Adobe Employee
November 16, 2016

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.

Adobe Employee
November 16, 2016

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.

kautuk_sahni
Community Manager
Community Manager
November 16, 2016

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

Kautuk Sahni