Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

AWS Route 53 integration with Cloudfront error (403)

I deployed a react app to AWS recently after following this tutorial, everything is working fine except when I wanted to integrate a custom domain that I bought recently using AWS Route 53, I get an error (403).

For the integration of Route 53 with CloudFront I followed these steps in the docs as they are, I know that my problem is related to some sort of permission authority, but I don't know where exactly I did something wrong.

Page error 403

like image 509
Ala Douagi Avatar asked Oct 25 '17 15:10

Ala Douagi


People also ask

How do I fix REST API 403 forbidden?

The most common cause of a 403 Forbidden Error is simply inputting an incorrect URL. As discussed before, many tightly secured web servers disallow access to improper URLs. This could be anything from accessing a file directory to accessing a private page meant for other users.

How does Route 53 integrate with CloudFront?

Sign in to the AWS Management Console and open the Route 53 console at https://console.aws.amazon.com/route53/ . In the navigation pane, choose Hosted zones. Choose the linked name of the hosted zone for the domain that you want to use to route traffic to your CloudFront distribution. Choose Create record.


1 Answers

Solved, my problem was related to unassigned Alternate Domain Names (CNAMEs) for the CloudFront Distribution.

like image 180
Ala Douagi Avatar answered Oct 21 '22 06:10

Ala Douagi