Google Cloud used with Cloudflare

#1

I have a Wordpress/Woocommerce site with SSL provided by my host. Running site with Cloudflare. I am moving my most of my media (images, mp3s etc) to Google Cloud. The account is setup and bucket in place. Test show that the image is being shown but is being accessed through Google Cloud (which is correct). However, I would like to have those images be served through Cloudflare just like rest of my site’s assets. Can someone give me the steps to make this happen?

Thanks in advance.

0 Likes

#2

Thats easy enough to do.

I assume you have named the bucket based on the domain you will be accessing your images via?

For example your domain name is “domain.com” and your images are in bucket called “images.domain.com” ? ( https://cloud.google.com/storage/docs/hosting-static-website?hl=en_GB&_ga=2.236846789.-511458698.1550637994)

Once you have that done, and can load the images via something like http://images.domain.com/something.png" all you need to do on the Cloudflare side is point “images.domain.com” to c.storage.googleapis.com as a CNAME and make sure it is “orange cloud” enabled:

0 Likes

closed #3

This topic was automatically closed after 14 days. New replies are no longer allowed.

0 Likes