I have the same problem. The app is hosted in azure web app(linux) and the Umbraco:WebRouting:UmbracoApplicationUrl setting set to my custom domain. The custom domain is correctly configured in the web app and I can access my umbraco site using this URL. However, when I use content.Url(mode: UrlMode.Absolute), it generates URL with default azure domain, not my custom one.
UmbracoApplicationUrl is not applied in Azure App Service environment
Hi,
I'm using latest Umbraco v13 on Azure App Service and it is behind Azure Front Door.
I have set the
UmbracoApplicationUrl
in the config but it is not used when I access the CMS backend.appsettings.Production.json
When I access https://example.com/umbraco, it redirects to https://example.azurewebsites.net/umbraco/login
I can access with https://example.com/umbraco if it is not Production runtime and UseHttps is false.
Any ideas how to solve it?
Thanks.
I have the same problem. The app is hosted in azure web app(linux) and the Umbraco:WebRouting:UmbracoApplicationUrl setting set to my custom domain. The custom domain is correctly configured in the web app and I can access my umbraco site using this URL. However, when I use
content.Url(mode: UrlMode.Absolute),
it generates URL with default azure domain, not my custom one.is working on a reply...