How do I add a CNAME for Google PageSpeed?

Note: Google has announced that PageSpeed will be closed down as of August 3, 2015. CloudFlare does recommend making the DNS changes prior to PageSpeed's closure date, and Google does provide directions for migrating away from PageSpeed to make sure you don't have access issues for your site(s).

In order to successfully migrate away from PageSpeed in your CloudFlare DNS settings, please make sure that any records you point to Google PageSpeed are pointed back to your origin server in some way. If www.yourdomain.com points to Google, for example, you should point it directly to your server as an A record or CNAME in the following format:

A www points to (your server IP)

or

CNAME www is an alias of (yourdomain.com)

Note: Replace yourdomain.com with your actual domain name.

The directions below will no longer be valid after August 3, 2015.

  1. Login to your CloudFlare account.
  2. From the drowdown menu on the top left, select your domain.
  3.  Select the DNS settings tab.
  4. Add your DNS record, and make sure the record has CloudFlare turned off (Grey Cloud) 

With the above configuration, the PSS console continue to say "DNS Changes Required". Despite this message, your site will retain the benefits of both PSS and CloudFlare.

Still not finding what you need?

The CloudFlare team is here to help. 95% of questions can be answered using the search tool, but if you can’t find what you need, submit a support request.