Accessing AEM in publishing mode without localhost and configuring our own host | Community
Skip to main content
New Participant
October 16, 2015
Solved

Accessing AEM in publishing mode without localhost and configuring our own host

  • October 16, 2015
  • 3 replies
  • 2033 views

Hi,

I am accessing the AEM in publishing mode by running the jar file - cq5-publish-p4503.jar

The url I am using to access AEM is - http://localhost:4503/content/geometrixx-outdoors/en.html

I want this to be configured as http://myowncontent.com/content/geometrixx-outdoors/en.html

How can this be acheived?

Regards,

Aditya Nayak

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 Sham_HC

Generally recommendation is to use webserver with dispatcher so that you can cache the file & protect against security attacks(Harry updated with this feedback already). To have your own domain as abhinav recommended modify your host file.   

If this is for local development & don;t want to cache and like to use port 80 assuming you do not have any webserver running and port 80 is free.  Update the port to 80 at [1] OR rename jar file to "cq5-publish-p80.jar".   In case you want to block using localhost then configure "Host Name" at [1].    Becareful while modfying [1] it might run cq in different port if you misconfigure.

[1]   http://localhost:4502/system/console/configMgr/org.apache.felix.http

3 replies

18Harry
New Participant
October 16, 2015

Hi Aditya,

You need to have a Webserver (Webserver URL : myOwnContent) . From here you can configure the Dispatcher to connect with your local system AEM .

See http://docs.adobe.com/docs/en/dispatcher.html for more details.

 

Regards

Harry

New Participant
October 16, 2015
You can update the host file on your machine to point localhost to the domain you want tho use.
Sham_HC
Sham_HCAccepted solution
New Participant
October 16, 2015

Generally recommendation is to use webserver with dispatcher so that you can cache the file & protect against security attacks(Harry updated with this feedback already). To have your own domain as abhinav recommended modify your host file.   

If this is for local development & don;t want to cache and like to use port 80 assuming you do not have any webserver running and port 80 is free.  Update the port to 80 at [1] OR rename jar file to "cq5-publish-p80.jar".   In case you want to block using localhost then configure "Host Name" at [1].    Becareful while modfying [1] it might run cq in different port if you misconfigure.

[1]   http://localhost:4502/system/console/configMgr/org.apache.felix.http