logo
logo

Custom CDN configuration for public links

A content delivery network (CDN) refers to a geographically distributed group of servers that work together to provide fast delivery of Internet content.

In Sitecore Content Hub™, customers can bring their own CDN to create customized public links for content.

The customized public links then change from the original URL instance of the Content Hub instance:

  • https://sitecore-test.sitecorecontenthub-staging.cloud/api/public/content/1b59e0697fec48e087c9d922c6487d41?v=a8b381a2

To use the customized CDN URL:

  • https://cdn.customer.example/api/public/content/1b59e0697fec48e087c9d922c6487d41?v=a8b381a2

This change is made possible by adding the custom CDN URL to the CustomCdnConfiguration setting.

Note

Public links for portal resources remain unaffected. This design allows entering an incorrect CDN URL or pointing to a malfunctioning CDN without causing Content Hub to stop functioning.

Add custom CDN

The CustomCdnConfiguration setting is located under M.Dam.Settings.

  1. On the menu bar, click Manage .

  2. On the Manage page, click Settings .

  3. Find the CustomCdnConfiguration setting under M.Dam.Settings.

  4. In the CustomCdnConfiguration setting, enter the required URL in the public_link_cdn_url field.

    The URL requires a cdn_url, which is the absolute domain of the CDN. In the following example, we use https://cdn.customer.example.

  5. Click Save.

Remove custom CDN

To remove the custom CDN:

  1. In the CustomCdnConfiguration setting, remove the custom CDN URL from the public_link_cdn_url field.
  2. Click Save.

Can we improve this article ? Provide feedback