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.

Meet the authors

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

Tables have arrived in the Contentful editor and we’re pretty excited about it. Here’s an overview of the release features and some creative ideas on how to use tables to share important information.
News

Tables in Rich Text fields now available, no reservations needed

April 26, 2022

News

Welcoming Ninetailed to Contentful: Composable content with AI-driven personalization

August 27, 2024

With Spring Launch, we’re expanding content orchestration beyond Contentful to also include third-party tools for creating exceptional digital experiences.
News

Content orchestration paves the way for dynamic digital experiences

May 16, 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