How to access the built website from outside | Community
Skip to main content
Xena_bcn
Level 5
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

Xena_bcn
Xena_bcnAuthor
Level 5
October 16, 2015

thank you @edubey.

You are really an expert and also you are online when i need help. Where do you live?

edubey
edubeyAccepted solution
Level 10
October 16, 2015

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.

Adobe Employee
October 16, 2015

Hi,

Is your content in the publish instance?

What port is your publish instance running on?

For the replication agent Test the connection

Did you update the Day CQ Root mapping as suggested in my earlier message?

Regards,

Opkar

edubey
Level 10
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
edubey
Level 10
October 16, 2015

You can replicate packages from author instance, no need to navigate to package manager of publish

Xena_bcn
Xena_bcnAuthor
Level 5
October 16, 2015

activated. still the same outcome.

Xena_bcn
Xena_bcnAuthor
Level 5
October 16, 2015

03.08.2015 15:49:41 - INFO - publish : Replication (ACTIVATE) of /etc/replication/agents.author/publish successful.
03.08.2015 15:51:45 - INFO - publish : Creating content for page /content/aspiag
03.08.2015 15:51:45 - INFO - publish : Sending POST request to http://localhost:4503/bin/receive?sling:authRequestLogin=1
03.08.2015 15:51:45 - INFO - publish : sent. Response: 200 OK

 

 

But don't see my webpage.

Xena_bcn
Xena_bcnAuthor
Level 5
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.

Adobe Employee
October 16, 2015

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

edubey
Level 10
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