Hi ,
I have configured AWS Cloudfront for my site.
But my cloud front URL is redirecting to my Main site url, can u please help me how to solve it.
xxxxx.cloudfront.net redirecting to www.mysite.com
I it not serving the content from my site.
Regard's
You would need to configure your redirects to not apply to the CloudFront cache servers, there are a couple of ways you can do this:
1. Create another origin host name which isn't redirected and point your distribution at that origin;
2. Don't apply redirects for the CloudFront user-agent;
3. Don't apply redirects when the source IP is in the CloudFront network ranges.
Thanks And Best Regard
Cetpa Infotech Pvt Ltd