Domine name redirecting with aws cloudfront

Hi, I have launched DF with AWS cloud but when I configuring domine name from CloudFront for DF the URL redirects from CloudFront Domine name to EC2 DNS name. It happens only for DF instance launched from Bitnami and for other instances like Node are working fine with CloudFront Domine names.
Is there any other configurations to be done for DF separately.
Plz help to solve this issue.

Thank you,