Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

Virtual host configuration

Avatar

Level 1

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

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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

 

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

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

 

Avatar

Community Advisor

@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...