How to enable SSL for Subdomain - domain with name cheap, website on VPS and storage with DO

  • Hi i have my domain over at
  • I have my website with my VPS provider.
  • I have my storage files in DO Spaces.

I have successfully created and connected to DO spaces by creating a CNAME over at my domain registrar NAMECHEAP. I created the CNAME for my subdomain. Everything works, however when i go to my files e.g. i cannot see it due to no SSL being valid on the sub domain.

Now I need to attach an SSL to the subdomain, I have gone through the steps on DO - but I am not able create a subdomain in my DO panel because i do not have the domain registered with DO. My domain is with NAMECHEAP.

Any help would be appreciated as my website is currently not functioning and desperately need to attach an SSL to my subdomain.

Kind Regards

Submit an answer
Answer a question...

This textbox defaults to using Markdown to format your answer.

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

Sign In or Sign Up to Answer

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.

Site Moderator
Site Moderator badge
August 7, 2020
Accepted Answer

Hi @Kay86,

Going over the documentation a couple of times, you would need to upload your custom SSL certificate from the panel. This means you’ll need to have it generated else where.

Another option would be to make your DNS managed by DigitalOcean. This would enable you to easily both manage your DNS from one place and use the Let’s Encrypt feature for creating SSL certificates for custom domains. There are pretty good articles about that here :

Additionally, there is a video showing how you can do this as well:

Regards, KFSys

Thank you @KFSys i have resolved the issue by moving my domain to DO and then pointing the dns records and mx records to my vps whilst maintaining my subdomain cname on DO.

After 12 Hours of stress i have accomplished this, thank you.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.