AEM as cloud service Dispatcher setting for multi domain . | Adobe Higher Education
Skip to main content
chetan001
Level 3
January 26, 2022

AEM as cloud service Dispatcher setting for multi domain .

  • January 26, 2022
  • 4 Antworten
  • 4121 Ansichten

Hi All,

 

I am setting up dispatcher in cloud service. for one domain, it is fine but when I am setting for multi domain and try to create new filter file,cache file to associate second domain it is not allowing to create these new files.

 

example:  

 

SiteA =   conf.dispatcher.d\cache/rules.any    >>>> working 
 
SiteA   =    \conf.dispatcher.d\filters.any   >>>> working
 
SiteB =   conf.dispatcher.d\cache/rules-second.any    >>>> not working 
 
SiteB   =    \conf.dispatcher.d\filters-second.any   >>>>   not working
 
can we do this in cloud service dispatcher ? or any other way to associate multi domain files in cloud service
 
Thanks
Chetan
Dieses Thema wurde für Antworten geschlossen.

4 Antworten

milind_bachani
Adobe Employee
Adobe Employee
January 26, 2022

@chetan001 hi,

 

Please refer the following link for multi-domain setup of dispatcher :

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

 

It talks about maintaining the virtual hosts and dividing the .any configurations in farms.

 

Thanks. 

chetan001
Level 3
January 27, 2022

Thanks milind_bachani 

 

yeah we can create multiple file for vhost and farm as per domain but my question more about creating new files in filter,cache which i can map to other domains.

 

Thanks

Chetan

Anish-Sinha
Adobe Employee
Adobe Employee
January 26, 2022

Hi @chetan001 

For multiple domain, you will have different vhost configured as well as different farm file.

Verify if you are including the newly created rules-second.any and filters-second.any file in the separate farms. Once include is correct, that rule will trigger.

each farm you will find an include something like below:

 

/filter {

$include "../filters/filters.any"

}

 

/rules {

$include "../cache/rules.any"

}

 

maintain separate farms for different domains and include these.

chetan001
Level 3
January 27, 2022

Thanks anishs1991 ,

 

even when i put new files "filters-second.any"  and map to farm file. dispatcher validator through the error.

"not a correct path "  same like.

 

 

Thanks

Chetan

Adobe Champion
January 27, 2022

Hi Chetan,

 

You might be using legacy mode for dispatcher, you need to change it to Flexible mode. Follow the documentation -> https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content/implementing/content-delivery/disp-overview.html.

 

This will resolve your issue.

 

Regards,

Kartik

chetan001
Level 3
January 27, 2022

Hi kartiksharma

 

Yes I am using flexible mode. but when add the new file it gives this kind of error.

 

 

conf.dispatcher.d\available_farms\: file included at unknown location: /etc/httpd/conf.dispatcher.d/filters/filters-qa.any
conf.dispatcher.d\available_farm\: filter allows access to CRXDE
conf.dispatcher.d\available_farms\: filter allows access to system console

 

chetan001
Level 3
January 28, 2022

Thanks All for your inputs.

 

yes we can create multi files but in my case vdi is window server 2016 that is causing problem and dispatcher validator was failing but I checked on linux system all files are working fine. there is no validator error.

 

 

Thanks

Chetan