How to set media to use custom domain? (cloud)

I have this exact problem as well, and can’t seem to find how to fix this.