• Blog
  • Docs
  • Careers
  • Get Support
  • Contact Sales
DigitalOcean
  • Featured AI Products

    Compute

    Build, deploy, and scale cloud compute resources

    Containers and Images

    Safely store and manage containers and backups

    Managed Databases

    Fully managed resources running popular database engines

    Management and Dev Tools

    Control infrastructure and gather insights

    Networking

    Secure and control traffic to apps

    Security

    Help protect your account and resources with these security features

    Storage

    Store and access any amount of data reliably in the cloud

    Browse all products

  • AI/ML

    CMS

    Data and IoT

    Developer Tools

    Gaming and Media

    Hosting

    Security and Networking

    Startups and SMBs

    Web and App Platforms

    See all solutions

  • Community

    Documentation

    Developer Tools

    Get Involved

    Utilities and Help

  • Become a Partner

    Marketplace

  • Pricing
  • Log in
  • Sign up
  • Log in
  • Sign up

Company

AboutLeadershipBlogCareersCustomersPartnersReferral ProgramAffiliate ProgramPressLegalPrivacy PolicySecurityInvestor Relations

Products

Managed AgentsKnowledge BasesGPU DropletsBare Metal GPUsInference EngineData ServicesLearning ServicesEvaluationsModel LibraryMicroVMsDropletsKubernetesFunctionsApp PlatformLoad BalancersManaged DatabasesSpacesBlock StorageNetwork File StorageAPIUptimeCloud Security Posture Management (CSPM)Identity and Access Management (IAM)CloudwaysView all Products

Resources

Community TutorialsCommunity Q&AWrite for DOnationsCurrents ResearchDigitalOcean StartupsWavemakers ProgramCompass CouncilOpen SourceNewsletter SignupMarketplacePricingPricing CalculatorDocumentationRelease NotesCode of ConductShop Swag

Solutions

AI Training GPUGPU InferenceVPS HostingWebsite HostingVPNDocker HostingNode.js HostingWeb Mobile AppsWordPress HostingVirtual MachinesView all Solutions

Contact

SupportSalesReport AbuseSystem StatusShare your ideas
AboutLeadershipBlogCareersCustomersPartnersReferral ProgramAffiliate ProgramPressLegalPrivacy PolicySecurityInvestor Relations
Managed AgentsKnowledge BasesGPU DropletsBare Metal GPUsInference EngineData ServicesLearning ServicesEvaluationsModel LibraryMicroVMsDropletsKubernetesFunctionsApp PlatformLoad BalancersManaged DatabasesSpacesBlock StorageNetwork File StorageAPIUptimeCloud Security Posture Management (CSPM)Identity and Access Management (IAM)CloudwaysView all Products
Community TutorialsCommunity Q&AWrite for DOnationsCurrents ResearchDigitalOcean StartupsWavemakers ProgramCompass CouncilOpen SourceNewsletter SignupMarketplacePricingPricing CalculatorDocumentationRelease NotesCode of ConductShop Swag
AI Training GPUGPU InferenceVPS HostingWebsite HostingVPNDocker HostingNode.js HostingWeb Mobile AppsWordPress HostingVirtual MachinesView all Solutions
SupportSalesReport AbuseSystem StatusShare your ideas

© 2026 DigitalOcean, LLC.

Sitemap
Product updates

Introducing Custom Subdomains for Spaces CDN

author

By Priya Chakravarthi

  • Published: April 9, 2019
  • 3 min read
<- Back to blog home

At DigitalOcean, we are always working on making the cloud easier to use so that you can focus on building great things.

Part of the journey in creating the developer cloud included launching Spaces, S3-compatible object storage that makes hosting web assets painless. In September 2018, we launched the built-in CDN feature for Spaces that provided the ability to turn on global edge caching for a Space in any of the regions Spaces was available. This allowed our customers to deliver assets to their websites and applications up to 70% faster.

Today, we are pleased to announce custom subdomains for your Spaces CDN endpoints. Now customers can use their own subdomain URL to deliver assets from an S3-compatible Space and secure it with a TLS certificate. These certificates can be issued by a CA authority, self-signed, or auto-generated through DigitalOcean’s Let’s Encrypt integration at no additional cost.

How Does it Work?

=================

If you don’t have a domain already, you need to purchase one from a domain name registrar. Then you need to set up DNS records for your domain by using a DNS hosting service. Please note that if you plan on using DigitalOcean’s Let’s Encrypt integration to generate TLS certificates for your CDN subdomain, you need to use DigitalOcean’s DNS hosting service. For self-signed certificates, you can use any DNS hosting service. For a detailed walkthrough, see our product documentation on custom subdomains.

Add a DNS CNAME record, such as “assets,” that maps to the CDN endpoint of your Space, then assign your subdomain from the Settings menu for a pre-existing Space or when you enable CDN for a new Space.

Why Use Custom Subdomains?

==========================

There are several reasons that custom subdomains could be useful for you.

Branding

Agencies and web developers who use Spaces object storage to host their assets can now use their own subdomain. Not only will this avoid confusion with end users, but it also keeps your tech stack hidden. Nobody but you needs to know where you host your digital assets.

Integrated SSL/TLS management

Securing your Space is flexible and easy. You can now upload a certificate for your own subdomain or use a free Let’s Encrypt cert that is simple to provision in just a few clicks, right from the Control Panel. The Let’s Encrypt certificate generation flow follows the same simple design principles used to generate certificates for DigitalOcean Load Balancers.

Simple configuration

Spaces users don’t need to spend extra engineering effort implementing a reverse proxy solution to hand off calls between *.cdn.digitaloceanspaces.com and *.myapp.com. In addition, when mapping your own subdomain to the CDN endpoint, it gets automatically added to the CORS listings, saving you a step. Now you can focus on building great applications rather than fine-tuning infrastructure.

Zero cost

Custom subdomains and integrated TLS management are included with your Space at no additional cost.

What’s Next

===========

Web asset hosting is only one use case that can leverage a subdomain connected to a CDN endpoint. Customers have also been asking to host static websites from their Spaces as well. This feature is currently under development and will serve as a building block for a front-end-as-a-service solution that leverages some of the core building blocks of the object storage and CDN infrastructure that customers have come to love.

Get started and create a Space today.

Happy Coding,

Priya Chakravarthi,

Product Manager

About the author

Priya Chakravarthi
Priya Chakravarthi
Author

Share

  • Product Updates

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.
Sign up

Related Articles

QM, Y Combinator's Open-Source Agent Harness, Now Deploys in One Click on DigitalOcean
Product updates

QM, Y Combinator's Open-Source Agent Harness, Now Deploys in One Click on DigitalOcean

DigitalOcean
  • November 10, 2026
  • 2 min read

Read more

Introducing DigitalOcean Cuttlefish: Get more done with agents on the go
Product updates

Introducing DigitalOcean Cuttlefish: Get more done with agents on the go

DigitalOcean

  • November 5, 2026
  • 4 min read

Read more

DigitalOcean Signals: Observability for AI Agents and Inference
Product updates

DigitalOcean Signals: Observability for AI Agents and Inference

Ravi Verma

  • October 28, 2026
  • 8 min read

Read more