Set up a custom CDN

Warning

If you use this functionality, your IP address might not be added to the reporting log when you open a public link.

Note

To configure Sitecore Content Hub, you must either be a superuser or have the necessary permissions granted to you through user group policies.

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, you can use your own CDN to create customized public links for content.

These customized public links have URLs based on the configuration of your CDN, such as:

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

Note

Public links for portal resources are unaffected by this, meaning that if an incorrect CDN URL is provided, or if the specified CDN malfunctions, Content Hub keeps functioning.

To set up a custom CDN:

  1. Set up your CDN to point to your Content Hub solution.

  2. Replace the base URL of an existing public link with your CDN URL. For example, https://<mycontenthub.com>/api/public/content/abc?v=123 becomes https://cdn.custom.example/api/public/content/abc?v=123. If the link works, your CDN configuration is correct and you can perform the following steps. If the link does not work, check your CDN configuration.

  3. On the menu bar, click Manage cog icon.

  4. On the Manage page, click Settings.

  5. Click the CustomCdnConfiguration setting.

  6. In the public_link_cdn_url field, enter the absolute domain of the custom CDN URL, such as https://cdn.custom.example.

  7. Click Save.

To remove the custom CDN, delete the URL from the public_link_cdn_url field.

Do you have some feedback for us?

If you have suggestions for improving this article,