Home > front end >  Having trouble creating a subdomain record on CloudFlare that will eventually point to my AWS S3 buc
Having trouble creating a subdomain record on CloudFlare that will eventually point to my AWS S3 buc

Time:06-03

I’m using CloudFlare as a hosting provider for my website, and AWS S3 to serve my static content. From CloudFlare I created a CNAME for my root domain (example.com) that points to my S3 bucket’s static url. This is currently working (see below). enter image description here

However, when I try to set up a subdomain (enter image description here

If anyone has any suggestions it would be greatly appreciated! I’ve looked at various documentation from AWS, CloudFlare, and StackOverflow, but nothing seems to help

CodePudding user response:

A much simpler solution, that doesn't require creating extra S3 buckets and redirect rules in S3, is to create a page rule in Cloudflare that forwards/redirects www to the root domain

  • Related