Can we route custom domain to DO spaces

August 21, 2018 3.8k views
DigitalOcean Ubuntu 16.04

Hi DOs,

I have static pages on digital spaces. Can I route my custom domain to DO space to serve those static pages.

Let me know if you need any additional question.

Thank you,
Sumit

4 Answers

DigitalOcean launched custom subdomains for Spaces on April 9th, 2019.

Hello friend!

At the moment you cannot with the existing setup. However, you could do a reverse proxy to force it to work.

Kind Regards,
Jarland

Hi there, I have set up spaces but do not know how to set up the domain in my DNS, i want something like cdn.mysite.com -> DO static file

Any plans to implement this? It's really bad to maintain a reverse proxy (another moving part, lots of traffic) just to have a custom domain setup for serving static files.

Have another answer? Share your knowledge.