for what it's worth, ran into exactly the same issue yesterday/today adding a domain name for a site (which is not yet live, but that's another point)
and i believe it can take up some time before the propagation of the cname record is ready. Docs says you should first create a cname record to point your domain name to [alias]..s1.umbraco.io, then add the domain name in the cloud portal. Did that, did 3 tries yesterday, ran into that error message. Did it again this morning (cname record was created yesterday) and now domain is correctly protected by latch.... so assuming it might take some time... not sure if this will help you, but worth a try?
This condition will never work, since HTTP_HOST only contains the host, not the protocol.
Also, the rules point to both domains with www and without. All domains should be in the hostnames list, otherwise umbraco cloud won't know that the domain should point to your site.
For what is worth. I deleted the hostname in the hostnames section and then pasted the above code in the web.config. I then added the hostname and Latch initialized.
Url Rewrite rules on Umbraco Cloud for two domain names
I have two Domain Names. https://www.passscriptsourcing.com and https://www.gopassrx.com. the client just gopassrx.com. On Umbraco cloud in hostnames I get a vague Rewrites error shown below.
I have followed the documentation and tried a few Rewrites.
When i go to Https://gopassrx.com
I get the following error.
I need both domains to work. Are there any rewrite guru's out there?
for what it's worth, ran into exactly the same issue yesterday/today adding a domain name for a site (which is not yet live, but that's another point) and i believe it can take up some time before the propagation of the cname record is ready. Docs says you should first create a cname record to point your domain name to [alias]..s1.umbraco.io, then add the domain name in the cloud portal. Did that, did 3 tries yesterday, ran into that error message. Did it again this morning (cname record was created yesterday) and now domain is correctly protected by latch.... so assuming it might take some time... not sure if this will help you, but worth a try?
--Dirk
Hi,
Regarding your rules, you should have a read of https://docs.microsoft.com/en-us/iis/extensions/url-rewrite-module/url-rewrite-module-configuration-reference
An example:
This condition will never work, since HTTP_HOST only contains the host, not the protocol.
Also, the rules point to both domains with www and without. All domains should be in the hostnames list, otherwise umbraco cloud won't know that the domain should point to your site.
I updated with no luck
This was resolved by using the following.
For what is worth. I deleted the hostname in the hostnames section and then pasted the above code in the web.config. I then added the hostname and Latch initialized.
is working on a reply...