Virtual host configuration | Community
Skip to main content
November 3, 2020
Solved

Virtual host configuration

  • November 3, 2020
  • 2 replies
  • 2808 views

Hi, We are using AEM cloud, I am having some trouble configuring vhost in the dispatcher,

I have the following entries in my virtualhosts.any

**********************************************************

"publish-pxxxx-exxxx.adobeaemcloud.com"
"publish-pxxxx-exxxx.adobeaemcloud.com"
"publish-pxxxx-exxxx.adobeaemcloud.com"
"www.abc.it"

**********************************************************

and i have the vhost file to have the server alias to the following values

**************************************

ServerName "publish"
ServerAlias "publish-pxxxx-exxxx.adobeaemcloud.com publish-pxxxx-exxxx.adobeaemcloud.com publish-pxxxx-exxxx.adobeaemcloud.com www.abc.it"

***************************************

But after configuring this when it try to reach my development server url publish-pxxxx-exxxx.adobeaemcloud.com it just returns "It works!" and doesn't return my page

This is quite urgent can anyone please help

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 AlbinIs1

That is the default Apache Server behavior, have you configured the dispatcher module into the Apache Server

Refer https://techforum.medium.com/aem-adobe-experience-manager-as-a-cloud-service-setting-up-local-development-environment-in-d0612e704255 for details on dispatcher setup

Regards

Albin I

www.albinsblog.com

 

2 replies

AlbinIs1Community AdvisorAccepted solution
Community Advisor
November 3, 2020

That is the default Apache Server behavior, have you configured the dispatcher module into the Apache Server

Refer https://techforum.medium.com/aem-adobe-experience-manager-as-a-cloud-service-setting-up-local-development-environment-in-d0612e704255 for details on dispatcher setup

Regards

Albin I

www.albinsblog.com

 

Shashi_Mulugu
Community Advisor
Community Advisor
November 4, 2020

@larry19 Configuring Dispatcher have multiple steps involved, You need enable/add dispatcher modules to your Apache Vhost files, then configure dispatcher with "Farms" to accept the requests and serve it back. Please follow below two links for configuring the dispatcher over Apache:-

 

https://docs.adobe.com/content/help/en/experience-manager-dispatcher/using/getting-started/dispatcher-install.html#apache-web-server-configure-apache-web-server-for-dispatcher

 

https://docs.adobe.com/content/help/en/experience-manager-dispatcher/using/configuring/dispatcher-configuration.html