How to use Cloudflare with DreamObjects


This article explains how to configure a DreamObjects bucket so that its content can be accelerated and protected using Cloudflare.


This article assumes the following about your website configuration:


Step 1 — Add your domain to a free Cloudflare account

View the following article for instructions on how to create a free account with Cloudflare:

After you've added your domain, Cloudflare assigns your specific nameservers. Continue to follow the instructions in the article above to update your domain's nameservers at DreamHost to use these new Cloudflare nameservers.

Step 2 — Create a bucket in your DreamObjects panel

View the following article for instructions on how to create a new bucket in your DreamObjects panel.

The new bucket should be named something like You can name the bucket anything you like, but the name must be the same name you give your subdomain in the Cloudflare panel. This name must also be a fully-qualified domain name (FQDN).

For example, if your new bucket is named, the DNS entry you create within the Cloudflare panel should be

This example uses

Migrating an existing bucket

If you have an existing bucket that you would like to use with this solution, you will need to "rename" the bucket by migrating its contents. View the following article for instructions on how to do that:

Step 3 — Create a CNAME record in your Cloudflare account

View the following article for instructions on how to add a DNS record in your Cloudflare panel.

Create a CNAME DNS record with the following settings. Make sure to change mycdn to your bucket name and to your actual domain name:

  • Type: In the dropdown menu, select CNAME
  • Name: mycdn
  • Target:

Click the Save button to save this new DNS record.

For more information about adding CNAME records in Cloudflare, see their documentation here:

Your DreamObjects subdomain must use Cloudflare's Flexible SSL/TLS to work. If you currently use Cloudflare with your root domain, you must set up a page rule with Cloudflare to enable Flexible SSL/TLS for your DreamObjects subdomain. This can be done via the SSL setting in Cloudflare's Page Rule feature. See the following Cloudflare support article for more information:

How long until it's working?

As soon as DNS information propagates, your bucket's content will be reachable using the subdomain record you created.

For example, if you've uploaded an image to your bucket named myimage.png, you can now reach it at:


See also

Did this article answer your questions?

Article last updated PST.

Still not finding what you're looking for?