Route53 not routing traffic to Cloudfront distribution

45 Views Asked by At

So I have a working Cloudfront distribution, but I haven't been able to use my domain name with it. I've follow tutorials, troubleshooting steps and other similar questions, but I haven't found my issue yet. This is what I've done so far:

  1. Register domain name with Route 53
  2. Created S3 bucket with name www.example.com and example.com redirecting to first bucket
  3. Tested that my CloudFront distribution domain name works as expected Added alternate domain name with my domain name. I added both example.com and with www www.example.com
  4. Origin domain is the S3 bucket. I left the name the same. Origin access is set to "Legacy access identities" and the identity is default "Access S3 bucket content only though CloudFront"
  5. Requested and got a public ACM certificate with location us-east1 (N. Virginia). I added domain name example.com and a second one *.example.com. Certificate shows as "issued"
  6. I should have created the records automatically while my certificate was loading, but I didn't. I tried creating it from ACM, but it wouldn't let me anymore. I copied the CNAME and added the record manually to Route 53. I found the hosted zone with my domain name, and copied the hash and value to create the record. Record is _longhash.example.com and the CNAME value from ACM.
  7. CloudFront distribution has SSL certificate from previous step selected. I double check is example.com. It also has IPV6 enabled
  8. I created an A record with www.example.com mapping to my distribution (I do find my distribution in the dropdown, and I checked that the Id matches)
  9. I created an AAAA record same as step before (for IPV6) NS and SOA records were created automatically by Route 53 and I haven't touched them
  10. I have waited for more than 2 days

When I go to the website example.com I just get a redirect to my ISP page. It says that the connection is not secure. So I'm guessing it's something wrong with the certificate. What am I missing or what did I do wrong?

0

There are 0 best solutions below