Skip to content

Configure Cloudflare CNAME for Sirv

By , Head of MarketingUpdated

Open this page in a new chat

Short answer

In Cloudflare, open your domain's DNS tab and create a CNAME record that points your subdomain to your Sirv domain, for example cdn pointing to mikesbikes.sirv.com. Then set the Proxy status to DNS only by clicking the cloud icon until it turns grey, so the custom domain is set up correctly.

After reading this you will know

  • How to create the CNAME record for Sirv in Cloudflare
  • Why the Proxy status must be set to DNS only
Cloudflare logo

CloudFlare is a popular security and CDN service, often used in conjunction with Sirv CDN.

If you manage your domain with CloudFlare, it’s easy to create a personalized sub-domain (or several) for your Sirv account, via a CNAME record.

  1. Log in to your CloudFlare account.
  2. Select your domain from the dropdown menu in the top left.
  3. Select the DNS tab.
Select the DNS settings tab
  1. Create a CNAME record pointing to your Sirv domain. For example, say your Sirv account name is mikesbikes and you want to serve files from cdn.mike-bikes.com.

    Then the CNAME should be cdn and the target should be mikesbikes.sirv.com, like this:

Add the CNAME record
  1. Set the Proxy Status to DNS Only. Toggle the CloudFlare proxy off (click on the cloud icon to make it grey) to ensure the CNAME record for the custom domain is set up correctly.
Set the Proxy Status to DNS Only

CloudFlare does not proxy third-party domains, only your own domain.

If mikesbikes.sirv.com is proxied by CloudFlare and the website uses images served by mikesbikes.sirv.com (a third-party CDN), the request to cdn.mike-bikes.com would not be proxied.

The grey cloud icon ensures traffic for the DNS record is not proxied, but it is still served by CloudFlare.

Back to top