AEM System Publishing to Two sites | Community
Skip to main content
Level 8
Feb 7, 2019 12:45 PM UTC
Solved

AEM System Publishing to Two sites

Hi all,

Let us say, I have two sites, Site-1 and Site-2 and they have different purpose, layout, content, etc.
I want one AEM CMS to publish to both these sites.
Kindly suggest how this could be achieved.

I could create components and  templates for both sites in this single AEM single CMS.
But when I publish content, it publishes to a server, based on the Replication agents configured and so it publishes on to only one server.
Or is it that we need to change Replication agents configuration for each of these one at a time and publish?
I mean, configure it for Site-1 Publish server and publish. When I want to publish on Site-2, configure it for Site-2 Publish server and publish?

Appreciate your support.

Thanks,
Rama.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
joerghoh
joerghohAccepted solution
Employee
Feb 8, 2019 12:07 PM UTC

If you want some content to be published only via agent-1, and other content only published via agent-2, you can use the approach described here: http://www.aemcq5tutorials.com/tutorials/restrict-content-specific-publishers-aem/

Jörg

4 replies

joerghoh
joerghohAccepted solution
Employee
Feb 8, 2019 12:07 PM UTC

If you want some content to be published only via agent-1, and other content only published via agent-2, you can use the approach described here: http://www.aemcq5tutorials.com/tutorials/restrict-content-specific-publishers-aem/

Jörg

Translate
nsvsrkAuthor
Level 8
Feb 8, 2019 11:39 AM UTC

Hi Jorg,

I will create a Review/Approve Workflow.

I will also create 2 Publish Agents, agent-1 and agent-2

But when I invoke Review/Approve Workflow for the contents meant for Site-1, and Site-2, how to make them make them use agent-1 and agent-2 respectively?

Is there a mechanism to invoke specific publish agents from the workflow itself directly?

This is my question.

Thanks,

Rama.

Translate
joerghoh
Employee
Feb 7, 2019 7:59 PM UTC

You can have multiple publish agents in parallel, just create an additional one :-) and configure it properly.

Jörg

Translate
smacdonald2008
Level 10
Feb 7, 2019 12:55 PM UTC

Correct - you can configure the REP agents.

Translate