Skip to main content
Jul 2, 2024 3:13 AM UTC
Solved

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

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.
h_kataria
h_katariaAccepted solution
Community Advisor
Jul 2, 2024 5:12 AM UTC

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
Jul 2, 2024 5:12 AM UTC

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.

Translate
AMANATH_ULLAH
Community Advisor
Community Advisor
Jul 2, 2024 5:13 AM UTC

@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

Translate
Amanath Ullah
gkalyan
Adobe Champion, Community Advisor, UG Leader
Adobe Champion, Community Advisor, UG Leader
Jul 2, 2024 6:15 AM UTC

@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

Translate
Himanshu_Jain
Community Advisor
Community Advisor
Jul 2, 2024 6:40 AM UTC

Hi @jayelvi2 ,

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

Translate
Himanshu Jain