Virtual host configuration

Avatar

Avatar

larry19

Avatar

larry19

larry19

02-11-2020

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

Screenshot (255).png

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

Albin_Issac

MVP

Avatar

Albin_Issac

MVP

Albin_Issac
MVP

03-11-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-develo... for details on dispatcher setup

Regards

Albin I

www.albinsblog.com

 

Answers (1)

Answers (1)

Avatar

Avatar

Shashi_Mulugu

MVP

Avatar

Shashi_Mulugu

MVP

Shashi_Mulugu
MVP

03-11-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/dispatche...

 

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