What feature, service or problem is this related to?
DNS records
What are the steps to reproduce the issue?
Setting up site for the first time. But this isn’t a propagation issue - we’ve had the domain set up for weeks and just haven’t gotten around to getting everything fixed and ready. The site sits in an AWS S3 bucket and is entirely static. DNS is hosted on a Cloudflare professional account.
Objective is to have all visitors to the site who just put in “domain.com” instead of “www.domain.com” to be redirected to the latter.
Visits to www.domain.com → works fine
Visits to domain.com → fails to redirect with an “ERR_NAME_NOT_RESOLVED” error.
Currently have a single redirect rule setup:
Custom filter expression
Field: hostname
Operator: does not equal
Value: www.domain.com
Then…
Type: static
URL: www.domain.com
Status code: 301