For an everyday internet user, seeing cloudfront.net can be confusing. You might wonder: "Am I on a malicious site? Did I leave Amazon?"
Normal scenarios:
Suspicious scenarios (Red Flags):
Because anyone with an AWS account can create a cloudfront.net distribution (even free-tier users), cybercriminals also misuse it to host phishing kits, malware payloads, and scam pages. The domain is not inherently dangerous, but it is widely accessible.
Enable in distribution → Logs → S3 bucket. Logs are delayed (1–2 hours).
If you’ve ever inspected network requests in your browser’s developer tools, you might have seen domains ending in cloudfront.net. These belong to Amazon CloudFront, AWS’s fast, secure, and globally distributed content delivery network.
After updating origin files, CloudFront still serves old cached copies until TTL expires.
To purge immediately:
aws cloudfront create-invalidation \
--distribution-id E123EXAMPLE \
--paths "/index.html" "/images/*"
⚠️ 1000 paths/month free, then charged.