How to access the built website from outside | Community
Skip to main content
Xena_bcn
New Participant
October 16, 2015
Solved

How to access the built website from outside

  • October 16, 2015
  • 26 replies
  • 4059 views

Hi,

So I copied the working website built with Adobe CQ to another test server.

From port 4502 I can work with Adobe CQ and see preview of pages...  I see in  WCM all pages as published.

But my question is: how can I see the website just typing URL without entering to Adobe CQ?

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 edubey

Lets follow small checklist:

  1. Your pages working fine in author instance.
  2. Your publish instance is at port 4503, with siteadmin url is http://localhost:4503/siteadmin
  3. Logout and login again in publish instance to see changes
  4. Open a page in author instance, activate it. Once activated change the port number in url from 4502 to 4503 ( remove cf# if present ). and check if page is loading properly.
  5. Use Activate tree in replication section to activate your pages
  6. Replicate your code package from author. Go to localhost:4503/crx/de and check whether you are able to see code under /apps and pages under /content or not.

Check above steps and let me know.

26 replies

edubey
New Participant
October 16, 2015
  1. Currently you are seeing pages in Author instance ( defualt port 4502 ) of AEM, 
  2. Create one publish instance of AEM, (its just an another AEM instance running on 4503 port and cq-publish-4502.jar file name default), replicate your code and pages from package manager to the instance. thats it.
  3. Live page are always accessed from publish instance ( by default it runs on 4503 port).
  4. Here is good documentation link: https://docs.adobe.com/docs/en/cq/5-6-1/wcm/page_publish.html
Employee
October 16, 2015

Hi,

you need to look into using a web server/Dispatcher[1], this will map your server, port number to your site. 

You really need to start looking into Web servers and how they work.[2]

Adding a web server/dispatcher in front of author and publish instances usually happens, rather than going directly to the URL port number. But this requires work with you infra/network team. 

For the author instance, the root "/" is usually mapped to the projects/welcome screen, we never map this to a site in author instance. Have a look at the section for Day CQ Root Mapping [3]. On a publish instance this would be mapped to your site (or you could do this as a re-direct using your web server)

Regards,

Opkar

 

[1]https://docs.adobe.com/docs/en/dispatcher/disp-install.html#Apache Web Server

[2] http://httpd.apache.org/

[3]https://docs.adobe.com/docs/en/aem/6-1/deploy/configuring/osgi-configuration-settings.html

New Participant
October 16, 2015

thanks for help

Xena_bcn
Xena_bcnAuthor
New Participant
October 16, 2015

hi @Opkal Gill

thank you for the reply.

I don't have any Apache Server, just java and quickstart.jar

Xena_bcn
Xena_bcnAuthor
New Participant
October 16, 2015

Hi again

in point 2 you say to use the package manager. I am using CQ5.5 there is nothing about publish instance. in AEM6 there is.

I installed the publish instance, i see the geometric site. but not mine.

What else I am missing to do?

Xena_bcn
Xena_bcnAuthor
New Participant
October 16, 2015

host.com:4503/etc/replication/agents.author/publish.html

 

Default Agent (publish)

Agent that replicates to the default publish instance.

Employee
October 16, 2015

The basic concept of author and publish instance will be there in CQ5.5 as well.

You would also need to deploy your codebase(apps package) to your publish instance, you can then either deploy your content package or activate from your publish instance, which would send the content via a replication agent.

https://docs.adobe.com/docs/en/cq/5-5/wcm/page_publish.html

https://docs.adobe.com/docs/en/cq/5-5/deploying/installing_cq.html#Installing%2520CQ

edubey
New Participant
October 16, 2015

Hi,

Enable your replication agent, by default they are enabled and set to port 4503.

then, from http://localhost:4502/crx/packmgr/index.jsp replicate you Content package + Code package to publish instance.

Ensure that packages are replicated successfully, 

Here is the Doc link for packages and its simple: http://docs.adobe.com/docs/en/crx/2-3/how_to/package_manager.html

Employee
October 16, 2015

You will need to open the replication agent and then enable it

Xena_bcn
Xena_bcnAuthor
New Participant
October 16, 2015

Thank you again.

I just didnt't open Package Manager and didn't import both packages in the port 4503

I am doing it now.