AEMaaCS + dispatcher config: I need a new domain, does it have to be in the same maven project? | Community
Skip to main content
July 2, 2024
Solved

AEMaaCS + dispatcher config: I need a new domain, does it have to be in the same maven project?

  • July 2, 2024
  • 4 replies
  • 992 views

as an example:

 

current site is www.myhost.com and the existing maven project contains the dispatcher config for this site. If I have a new domain (www.newhost.com) that will be hosted in the same AEM instance, can I create a new maven project for this?

 

I'm experience with this is that new domains will have to be added to the existing maven project.

 

thoughts?

 

Thanks!

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 h_kataria

Yes, if I assume both of these will be hosted within the same AEM program then as far as I know it will be have to be in the same AEM project. On a broad level there will be a new vhost file along with its corresponding farm files will have to be added. 
Hope this helps.

4 replies

h_kataria
Community Advisor
h_katariaCommunity AdvisorAccepted solution
Community Advisor
July 2, 2024

Yes, if I assume both of these will be hosted within the same AEM program then as far as I know it will be have to be in the same AEM project. On a broad level there will be a new vhost file along with its corresponding farm files will have to be added. 
Hope this helps.

AMANATH_ULLAH
Community Advisor
Community Advisor
July 2, 2024

@jayelvi2 

You can use the same project and use new domain for the content which you want to map with the new domain. The dispatcher configurations can be updated in the same existing project. We will not need a new maven project

Amanath Ullah
gkalyan
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
July 2, 2024

@jayelvi2 

Check this dispatcher guide about "Using Dispatcher with Multiple Domains", which might be useful

https://experienceleague.adobe.com/en/docs/experience-manager-dispatcher/using/configuring/dispatcher-domains

Himanshu_Jain
Community Advisor
Community Advisor
July 2, 2024

Hi @jayelvi2 ,

No need for separate maven project , you can modify dispatcher module to config multiple domains.

Himanshu Jain