Cloudfront custom SSL not installing for naked domain

0

EDIT: I think this is an issue with google admin settings. EDIT2: It's not a google admin setting, the naked domain redirect on that dashboard only handles http requests which im already redirecting with namecheap DNS.

I am using an S3 bucket to host my site, Cloudfront to distribute it, and namecheap for the domain, DNS, and SSL Certificate.

Below I've attached all the settings and screenshot of SSL certificate and as far as I can tell everything is correct. Certificate shows both www and naked domain in Namecheap and imported to ACM. Imported certificate is also in US-East-1 and I've defined cloudfront behavior to redirect http to https. However naked domain doesn't appear in details of ACM nor under custom SSL certificate details in Cloudfront.

And when trying to navigate via HTTPS to my naked domain (https://example.com) I get a timeout error. Navigating any other way (example.com, www.example.com, https://www.example.com, http://www.example.com, http://example.com) all work. I'm totally lost at where I went wrong or if the bug is out of my hands and I need to refactor my architecture. Thanks!

Namecheap DNS Namecheap SSL ACM Imported Certificate Cloudfront Settings Cloudfront Behaviors

1 Answer
0

Namecheap's URL redirect may not support redirection of HTTPS traffic thus https://example.com will result in timeout. You can create "ALIAS Record" in Namecheap with "@" as Host and "CloudFront Distribution" as Value. This will direct traffic for https://example.com to your CloudFront directly without the need to use Namecheap's URL redirect service.

AWS
KevinL
answered 10 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions