by soxocx · 4y ago · 0 comments
If you use Cloudfront with an S3 bucket as origin for _dontwordle.com_, just create a second Cloudfront with an S3 Bucket for _www.dontwordle.com_ and enable "static website hosting" to redirect to "dontwordle.com" on the second bucket.
It was some tinkering around with bucket name (has to match the subdomain.domain.tld) and the cloudfront origin settings. But it works flawlessly. Feel free to ping me if you need details.
See links below.
coindex.de www.coindex.de
<script>document.location.href = https://dontwordle.com</script>