Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.

AEMasaCS dispatcher for Authoring instances


Level 5

Is it possible to make Authoring cloud instance using dispatcher (creating new virtual host for Authoring instance) ?

1 Accepted Solution


Correct answer by
Level 5
7 Replies


Community Advisor

Hi @nbg62 

Yes, it is possible to create a new virtual host for the Authoring instance using the dispatcher. This can be achieved by configuring the dispatcher to route requests to the new virtual host to the Authoring instance.

# Define a new virtual host
<VirtualHost *:80>
    ServerName authoring.example.com
    DocumentRoot /var/www/authoring

    # Configure the dispatcher to route requests to the Authoring instance
    <Location /content>
        DispatcherPass ajp://authoring_instance:8009


In this example, the dispatcher is configured to route requests to the `/content` path to the Authoring instance running on `authoring_instance:8009`. Requests to `authoring.example.com/content` will be routed to the Authoring instance, while requests to other paths will be served by the `DocumentRoot` specified in the virtual host configuration.




Community Advisor

hi @nbg62 


Yes, it is possible to configure a dispatcher virtual host (vhost) for the authoring environment in Adobe Experience Manager as a Cloud Service (AEMaaCS). The dispatcher can be configured to route requests to the appropriate AEM environment based on the hostname or other request characteristics.


Configuring a dispatcher vhost for the authoring environment typically involves setting up a separate dispatcher configuration for authoring, which directs requests to the author instance(s) rather than the publish instances. This allows authors to access the authoring environment through a specific hostname or URL.

here's a sample

<VirtualHost *:80>
    ServerName author.example.com
    ServerAlias author

    # Basic dispatcher configuration
    DocumentRoot "/path/to/dispatcher/docroot"

    <Directory "/path/to/dispatcher/docroot">
        Options FollowSymLinks
        AllowOverride None
        Require all granted

    # Dispatcher module configuration
    <IfModule dispatcher_module>
        # Enable dispatcher module
        LoadModule dispatcher_module /path/to/dispatcher/modules/mod_dispatcher.so

        # Dispatcher configuration file
        DispatcherConfigFile "/path/to/dispatcher/conf/dispatcher.any"

        # Author instance(s) configuration
        DispatcherDeclineRoot "/content"
        DispatcherPassError 0

        # Authoring environment rules
        # Rewrite rules to direct requests to the author instance(s)
        # Example:
        # RewriteCond %{REQUEST_URI} !^/content/author.*
        # RewriteRule ^/(.*)$ http://author-publisher.example.com/$1 [P,L]

        # Other configuration directives specific to your setup may be added here


especially in AEMaaCS, all authoring URLs are passed through a CDN and thus quite possible to capture the requests to redirect to authoring hosts.


Community Advisor



The counter question would be why?

Technically, yes, it is possible, as it was already pointed out. However, I believe that not having a Dispatcher for the author instance is a decision made by design. You can learn more about why it would not be necessary to have a Dispatcher at the author level here: https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content/overview/architectu.... Additionally, I am not sure if this is doable from a lockdown perspective. I am uncertain if the files you will try to modify are considered "unmodifiable."


I would be curious about the result of your exercise trying to add the Dispatcher.


Hope this helps.

Esteban Bustamante


Level 5

I'm not even sure that is technically possible, I would like to see any documentation or AEM architecture graphics showing that request to Authoring is going to dispatcher before it is fwd to Authoring.

In the logs section you can see Publish dispatcher log but you can't see Authoring dispatcher log, that makes me think there is no dispatcher support for Authoring


Community Advisor

Hi @nbg62 
Please check https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/can-we-enable-dispatcher-c...


Not sure if Dispatcher is behind author or not on cloud.

technically you can create farm for author as well.

Arun Patidar


Correct answer by
Level 5

Got confirmation from Adobe that Dispatcher on Authoring is not supported