Expand my Community achievements bar.

SOLVED

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

Avatar

Level 1

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!

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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.

View solution in original post

4 Replies

Avatar

Correct answer by
Community Advisor

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.

Avatar

Community Advisor

@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

Avatar

Community Advisor

Hi @JayelVi2 ,

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

Himanshu Jain