Using custom domains for our Azure Storage account with Orchard

Topics: General
Jan 18, 2013 at 4: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 domain).

For example, when I upload a picture in the Media section, it should read as rather than

Is it possible to go about this?

Jan 18, 2013 at 6:22 PM
Edited Jan 18, 2013 at 6:23 PM

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

Jan 19, 2013 at 3:07 AM
Edited Jan 19, 2013 at 3: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.