AWS Website Setup Troubleshooting Guide

1. Certificate (ACM) Issues

ProblemFix
Certificate stuck in “Pending Validation”Add CNAME record from ACM into Route 53
CloudFront doesn’t see your certificateEnsure cert is in us-east-1
Wrong domain in certInclude exact domain (e.g. both www.example.com and example.com)

2. Route 53 DNS Issues

ProblemFix
Domain doesn't point to siteCreate A – Alias record to CloudFront distribution
Record pointing to wrong regionUse proper distribution URL like d1234.cloudfront.net
Propagation delayWait 15–30 minutes for DNS to update

3. CloudFront + S3 Origin Issues

ProblemFix
403 Forbidden errorSet up Origin Access Control (OAC) or OAI properly
CloudFront shows error pageEnsure correct origin and index document is set

4. Domain Not Secure (HTTPS Problems)

ProblemFix
Site not secure in browserUse custom SSL cert in CloudFront
Redirect loop / no HTTPSSet CloudFront behavior to redirect HTTP to HTTPS
S3 static hosting with HTTPS failsUse CloudFront in front of S3

5. S3 Bucket Setup Mistakes

ProblemFix
Files not loadingMake sure files are public or accessible via CloudFront
Wrong bucket policyApply correct policy allowing CloudFront access
Static hosting not enabledEnable static website hosting with index.html

✅ Final Setup Checklist