By Kay86
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. https://subdomain.mydomain.com/myfile.jpg 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
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!
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 :
https://www.digitalocean.com/docs/spaces/how-to/customize-cdn-endpoint/
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.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.