# doctl compute cdn – DigitalOcean Documentation > The subcommands of `doctl compute cdn` are for managing Content Delivery Networks (CDNs). Content hosted in DigitalOcean's object storage solution, Spaces, can optionally be served by our globally distributed CDNs. This allows you to deliver content to users based on their geographic location. To use a custom subdomain to access the CDN endpoint, provide the ID of a DigitalOcean-managed TLS certificate and the fully qualified domain name (FQDN) for the custom subdomain. - [doctl compute cdn create](https://docs.digitalocean.com/reference/doctl/reference/compute/cdn/create/index.html.md): Creates a Content Delivery Network (CDN) on the origin server you specify and automatically generates an endpoint. You can also use a custom subdomain you own to create an additional endpoint, which must be secured with SSL. The Time To Live (TTL) value is … - [doctl compute cdn delete](https://docs.digitalocean.com/reference/doctl/reference/compute/cdn/delete/index.html.md): Deletes the CDN specified by the ID. You can retrieve a list of CDN IDs by calling `doctl compute cdn list` - [doctl compute cdn flush](https://docs.digitalocean.com/reference/doctl/reference/compute/cdn/flush/index.html.md): Flushes the cache of a Content Delivery Network (CDN), which: - purges all copies of the files in the cache - re-caches the files - retrieves files from the origin server for any requests that hit the CDN endpoint until all the files are re-cached This … - [doctl compute cdn get](https://docs.digitalocean.com/reference/doctl/reference/compute/cdn/get/index.html.md): Lists the following details for the specified Content Delivery Network (CDNs): - The ID for the CDN, in UUID format - The fully qualified domain name (FQDN) for the origin server, which provides the content to the CDN. Currently, only Spaces are supported … - [doctl compute cdn list](https://docs.digitalocean.com/reference/doctl/reference/compute/cdn/list/index.html.md): Retrieves a list of your existing Content Delivery Networks (CDNs) and their following details: - The ID for the CDN, in UUID format - The fully qualified domain name (FQDN) for the origin server, which provides the content to the CDN. Currently, only … - [doctl compute cdn update](https://docs.digitalocean.com/reference/doctl/reference/compute/cdn/update/index.html.md): Updates the configuration details of an existing Content Delivery Network (CDN).