I am trying to control what URL is shown in the media-section, when an editor goes to the “Info” tab.
Without luck, I have tried setting this via the setting:
`Umbraco:CMS:WebRouting:UmbracoApplicationUrl`
It seems to use the requesting hostname all the time.
I think the below would be applicable to Umbraco 15 too.
You would need to set the domain under Culture and hostnames. Right click your site node, select Culture and hostnames (or similar), enter the domain name, save and publish. I think this is what you’re attempting to achieve.
I have checked the things suggested. I followed the Umbraco source-code, and i looks like the host used, originates from: UmbracoContext’s property ‘CleanedUmbracoUrl’
This property seems to be using requesting route host name, and not the setting UmbracoApplicationUrl. I might be wrong - but I’ll stop investigating here.