Expand my Community achievements bar.

SOLVED

Configuring Dispatcher on Local using Docker Image for AEM Redirects

Avatar

Community Advisor

Hi All,

 

I have 2 websites hosted on same AEM Instance.

I have written vhosts and farm files for them respectively and also added redirect rules in vhost.

 

sample.brandA virtual host should go to /content/a

sample.brandB virtual host should go to /content/b

 

My dispatcher instance is successfully pointing to Publish as verified by running the docker image.

I have also modified my local machine's host file to redirect both the virtual hosts to dispatcher

127.0.0.1:8080 sample.brandA
127.0.0.1:8080 sample.brandB

 

However, the site can't be reached persists. Is there anything I am missing ?

Do we need to run dispatcher locally on Windows IIS to have this run successfully ?

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi All,

 

Please ignore this question now.

The issue was in my windows local host file where I mentioned the hostname and port. 

Removing the port from host file and entering it manually in format "sample.brandA:8080" worked.

 

Thanks,

Rohan Garg

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Hi All,

 

Please ignore this question now.

The issue was in my windows local host file where I mentioned the hostname and port. 

Removing the port from host file and entering it manually in format "sample.brandA:8080" worked.

 

Thanks,

Rohan Garg