Change of the Contentful asset domain

Published on December 8, 2017

Asset-Domain-Change6

Subscribe for updates

Build better digital experiences with Contentful updates direct to your inbox.

We have an important technical announcement to make. On March 4, 2018, Contentful will be changing the domain from which your assets are served. It's a change that will have little effect on most of our users, but it might require some additional steps if you are accessing Contentful through a secure proxy or have a security policy in place.

This change is designed to better isolate your content from potentially malicious content uploaded by other users. Once the change takes place, all user-generated assets (images, videos, PDFs, executable files, and other attachments) will be served from the ctfassets.net domain:

  • images.contentful.com → images.ctfassets.net

  • assets.contentful.com → assets.ctfassets.net

  • downloads.contentful.com → downloads.ctfassets.net

  • videos.contentful.com → videos.ctfassets.net

At the same time, we will also implement HTTP/2, which leads to a lot of performance improvements.

After March 4, 2018, we will force the old domains to redirect to the new domains with a permanent redirect (301). Your existing links should continue to work automatically in your browser. If you're using an asset URL to directly access user-generated content via curl, wget, or http libraries, be sure to configure that tool to follow these redirects. Bear in mind that in the long run, the best solution is to configure that tool to query the new domain.

You will also need to update your settings if any of the following apply to your case:

  • You filter outgoing requests (i.e., use a web proxy) → Configure your app to fetch media from the new domain

  • Your site uses a Content Security Policy → Add the new domain to the policy

  • Your app/site relies on stored asset and image links (i.e., you run a static website) → Rebuild the site to use the links to the new domain

As always, you can reach out to us at any time with your questions regarding this change. We're here to help.

Subscribe for updates

Build better digital experiences with Contentful updates direct to your inbox.

Anthony Stanton

Anthony Stanton

Senior Staff Software Engineer, Contentful

Anthony is a former Senior Staff Software Engineer at Contentful, focused on application hosting and content delivery infrastructure.

Related articles

Developer Showcase Highlights
News

10 terrific projects from the Developer Showcase

October 20, 2022

Clever composability: To flatten out the learning curve and begin content modeling with confidence, Contentful introduces the AI Content Type Generator.
News

Jumpstart your content modeling with the AI Content Type Generator

July 11, 2023

Spring Launch continues to unlock the power of composable content by empowering organizations to connect, collaborate, and scale digital experiences.
News

There’s something for everyone in the Contentful Spring Launch

May 4, 2023

Contentful Logo 2.5 Dark

Ready to start building?

Put everything you learned into action. Create and publish your content with Contentful — no credit card required.

Get started