Using custom domains for our Azure Storage account with Orchard

Topics: General
Jan 18, 2013 at 5:22 PM

I've just hooked up my Orchard project with Windows Azure Storage. I have a problem where I want uploaded files to refer to my custom domain name as the source (rather than it linking to its blah.blob.core.windows.net domain).

For example, when I upload a picture in the Media section, it should read as files.blah.com/Media/Default/pics/taylor-swift.jpg rather than blah.blob.core.windows.net/media/default/pics/taylor-swift.jpg.

Is it possible to go about this?

Coordinator
Jan 18, 2013 at 7:22 PM
Edited Jan 18, 2013 at 7:23 PM

You should probably ask Azure support. Are the files accessible under that custom domain?

Jan 19, 2013 at 4:07 AM
Edited Jan 19, 2013 at 4:21 AM

Yeah, they're totally accessible. I don't think it's an Azure problem as I think I should be able to change to my custom URL via the Orchard settings (a bit like how we can set the base URL).

EDIT: Never mind. I figured it out. I have to specify my default blob endpoint in the connection string.