Hi @_CL ,
We need to set X-Forwarded-Host in CDN, ServerAlias and allow that header in /clientheaders section of dispatcher.
You may refer below documentation for step by step tutorial and sample servlet code
https://experienceleague.adobe.com/en/docs/experience-manager-learn/cloud-service/content-d...