- Newest
- Most votes
- Most comments
Can you access the origin without going through CloudFront?
If you can access it, please check if it is configured as per the following document. https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/CNAMEs.html
Verify that the CNAME record is set in CloudFront by using the dig command
I was thinking I should have mentioned that the subdomain on the non-AWS origin server is accessible if DNS is simply routed through our Registrar (via an A record pointed at the IP address of the server).
Also, apologies if it wasn't clear that when configured the way I described we do make it to CloudFront and get the 403 message from CloudFront. The CNAME is configured for the Alternate Domain Name, and dig does return the correct Distribution Domain Name for the CNAME/Alternate Domain Name aws.example.com
The problem appears to be that the traffic stops at CloudFront and that the alternate domain is not passing through Route 53.
Is HTTPS used between CloudFront and the origin?
Please send me a screenshot of your CloudFront configuration screen if possible.
Thank you very much.
Could you please show me additional origin detail settings and behavior detail settings?
Thanks, @Riku. Here are additional configuration details:
Origin Settings:
Behaviors Settings:
The origin domain and CloudFront Alternate Domain Name look the same, but are they set differently?
If they are the same, please change them to different ones.
Relevant content
- AWS OFFICIALUpdated 8 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 4 months ago
- AWS OFFICIALUpdated a year ago