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 configuration is NOT the same as the Cloudflare subscription options offered by DreamHost since it requires that the root domain use Cloudflare's nameservers.


This article assumes the following about your website configuration:

Create a Cloudflare account

Creating an account with Cloudflare can be done in two ways.

Create an account directly with Cloudflare

You can create directly with Cloudflare:

Create a Cloudflare account in your DreamHost panel

You could also create a Cloudflare account within your DreamHost panel. View the following articles for details:

Make sure that when you're adding Cloudflare to your domain you specify that it is a "New Account".

Add your domain to your Cloudflare account

Add your domain to your Cloudflare account. This assigns a pair of Cloudflare nameservers to the domain and allows you to manage your domain's DNS entries at Cloudflare. For more information about adding a domain to Cloudflare, see their documentation here:

During this process you'll see the nameservers Cloudflare assigns to your domain. They will appear like this:

Copy those nameservers as you'll need to change them in your DreamHost panel in the next step.

Point the domain's nameservers to Cloudflare

In your DreamHost account, update your domain registration's nameservers to point to Cloudflare. For more information about changing a domain's nameservers to Cloudflare, view the following articles:

Create a bucket and Cloudflare DNS record

Create a bucket and subdomain to use when accessing your content.

The name you give the bucket must be the same name you give your subdomain. 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

Create a bucket in your DreamObjects panel

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

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 instruction on how to do that:

Create a CNAME record in your Cloudflare account

  1. Log into your Cloudflare account.
  2. Click the DNS button in the top menu.
  3. You'll see several DNS fields below. 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:
  • Domain name:

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

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.

Did this article answer your questions?

Article last updated PST.

Still not finding what you're looking for?