user10698660
user10698660

Reputation:

Redirect www to non-www with cloud storage bucket static site

I have a static site hosted on google cloud storage bucket.

In front of my bucket I have cloudflare dns.

Storage bucket is example.com

Cloudflare settings: CNAME > @ > c.storage.googleapis.com > TTL automatic

Question is how to implement a redirect from www.example.com to example.com, because now www.example.com resolves to 404 error page?

Upvotes: 4

Views: 1203

Answers (1)

Daniel Loureiro
Daniel Loureiro

Reputation: 5383

Create a Page Rule on CloudFlare:

Upvotes: 4

Related Questions