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
  • 4091 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

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

 

Default Agent (publish)

Agent that replicates to the default publish instance.

Xena_bcn
Xena_bcnAuthor
Level 5
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
Level 5
October 16, 2015

hi @Opkal Gill

thank you for the reply.

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

October 16, 2015

thanks for help

Adobe 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

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