Question

Spaces: Can I create a presigned url with my custom cdn domain instead of the https://ams3.digitaloceanspaces.com/

Hello, I do create right now pre-signed urls. The process does work as I get a URL like this:

https://ams3.digitaloceanspaces.com/MY-BUCKET/dev-front/c-5/cache/i-5-144_thumb.jpg?X-Amz-Content-Sha256=

But I would need the url without the ams3.digitaloceanspaces.com, so just like this:

https://MYDOMAIN.com/dev-front/c-5/cache/i-5-144_thumb.jpg?X-Amz-Content-Sha256=

I do have a CNAME for my custom cdn domain linking it to the bucket. For example public files are accessible via https://MYDOMAIN.com/ without any issues.

Am I missing something? Thanks for any help


Submit an answer

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.