AEM System Publishing to Two sites | Community
Skip to main content
Level 8
February 7, 2019
Solved

AEM System Publishing to Two sites

  • February 7, 2019
  • 4 replies
  • 2829 views

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.
Best answer by joerghoh

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

smacdonald2008
Level 10
February 7, 2019

Correct - you can configure the REP agents.

joerghoh
Adobe Employee
Adobe Employee
February 7, 2019

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

Jörg

nsvsrkAuthor
Level 8
February 8, 2019

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.

joerghoh
Adobe Employee
joerghohAdobe EmployeeAccepted solution
Adobe Employee
February 8, 2019

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