DEV Community

loading...

Discussion on: Redirecting a domain with HTTPS using Amazon S3 and CloudFront

Collapse
andrewbrown profile image
Andrew Brown 🇨🇦

When you add your domain to ACM I suggest to also add the wild card domain eg.

example.com
*.example.com

This will save lots of pain down the road.
Also might be worth noting that it's better to use
a subdomain eg. www instead of naked domain due to the scoping of how cookies work. I used to love the naked domain until I ran into cookie issues and CORS.