Question

Can we route custom domain to DO spaces

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

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

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

Hello, all

Because there are so many secondary features that to really provide a great platform for static sites such as deployment and SSL we launched an app platform which has full support for static sites. You can find out more here:

Beginner Guide: https://www.digitalocean.com/community/tutorials/how-to-deploy-a-static-website-to-the-cloud-with-digitalocean-app-platform

Quickstart Guide: https://www.digitalocean.com/community/tutorials/how-to-deploy-a-static-site-from-github-with-digitalocean-app-platform-quickstart

Hope that this helps! Regards, Alex

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.

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

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