Hi @domjh
Thank you for your reply.
I agree with you that the error should come from my server but the hosting company tells me to talk to Cloudflare.
There is a site on the server and you can see it here http://www.primroseuk.com
For the sub-domain en.primroseuk.com I use a domain pointer to serve the main site. Once the main site loads but the URL is from the sub-domain en it will know to load the English language instead of the Italian (Nopcommerce version 3.90)
Because the main site is a live website I have created a similar setup under another domain so I can do some testing.
https://www.londralavoro.com/
Here I have two subdomains
gb.londralavoro.com
es.londralavoro.com
DNS on Cloudflare as below
Type: A
Name: es
Value: points to 95.128.135.30
TTL:Automatic
Status: Orange
Type: A
Name: gb
Value: points to 95.128.135.30
TTL:Automatic
Status: Orange
Type: A
Name: londralavoro.com
Value: points to 95.128.135.30
TTL:Automatic
Status: Orange
For the moment this domain uses the shared Cloudflare Universal SSL certificate.
I have created two web site pointers to point both subdomains to londralavoro.com
I can get the two sub-domains and main site to work if I change the SSL in Cloudflare to Flexible (not reccomended).
As soon as I switch to Full I get 404 for the main domain and the 2 subsites.
Now going back to the live website (primroseuk.com) I used to have an SSL certificate installed on the server for the main domain. When it expired I switched to the Dedicated SSL with Custom Hostnames provided by Cloudflare.
I am wondering if the main domain (primroseuk.com) works using SSL:Full because the certificate even if expired is still installed and Cloudflare will connect to the origin over HTTPS, but will not validate the certificate.
For the subdomain there is not hostname specified on the old certificate and that it could be the reason why I get a 404.
What are your thoughts? Do you think it could be the problem?
Sorry for the long message but I want to be sure that I provide all the necessary info.
Thank you