Next Cloudinary v6 now available! View Changelog

Guides
Using Custom Domains

Using Custom Domains

When using Next Cloudinary with a custom domain in your Next.js application, you can serve your media assets with your own branded URLs.

This feature is relevant only for users on Advanced plans or higher. Advanced plan users can request a custom domain with Cloudinary. Learn more (opens in a new tab)

Example

Display images and videos using your custom domain with the CldImage or CldVideoPlayer component.

<CldImage
  src={src}
  config={{
    privateCdn: true, // Set to true when using a custom domain
    secureDistribution: 'your-custom-domain.com', // Set your custom domain here
  }}
/>

Learn More