Kentico 13 refresh 4. We are using A DNS records to point to the public IP address of the web app (same Azure IP address for both apps). Cloudflare proxying is enabled (no way around this).
Yes we've tried the URL host setting with no effect, in fact it causes problems if you don't use the same domain for the admin and live site. When I try to use the same domain for both live and admin sites, it forces the live site to use a different path, which is undesirable.
"How are you telling the actual web server and Kentico app what is going on with the domain name in the URL before it hits the app?" - The DNS should resolve to the IP address and it does without any problems, the admin app redirects a couple of times to get to Administration.aspx. However, the admin site makes a number of requests which includes one to the live site domain (AuthenticationIframe) which returns a 404. If I try to access that directly, I get a 403. Why does it make this request?
"You may also need to configure some reverse proxy IIS URL rewriting rules in your web.config file, depending on your configuration to let Kentico know what URL should be used." - can you tell us what Kentico requires?
"Why would the hash be affected by the domain or the reverse proxy? Unless perhaps the identity signing inside the admin site sensitive to this?" - could you answer this please? I don't see why popups should have hash security issues when the rest of the admin site works with the A DNS record and proxying in place.