Point dommain not working with cloudfare

My cloudfare and is configured as seen in this tutorial: “how to use cloudflare for ssl” but I have a error in the last steps.
When I try to add my domain in 000webhost panel the message “Domain franquianerd.club CNAME must be pointed to franquianerd.000webhostapp.com” appears.
I tried to turn my orange clouds to gray then add point domain and didn’t work. Same error message appeared.
Now my orange clouds in cloudfare are grey and waiting to replicate maybe.
The domain in cloudfare is active.

What can be the problem? I already tried to search here in forums for solutions but nothing works.

Thanks in advance

now the site is linked in point domain but remains unsafe (doesnt protected by ssl). I turned Cloudfare cloud to orange and I’m waiting that this solve the security issue.

Hi @wshossein,

Firstly, just a warning - with 000webhost, you can only use Cloudflare’s flexible SSL mode which is not fully secure. You can read more in this article on the Cloudflare Community:

In terms of the issue, your Cloudflare setup looks OK - you are not redirecting traffic to HTTPS currently (you can do this with the ‘Always use HTTPS’ setting in the crypto tab of your Cloudflare dashboard). You also appear to have mixed content errors on your site:

Mixed content errors mean that your website is being loaded over HTTPS but some of the resources are being loaded over HTTP. To fix this you will need to edit your source code and change all resources to load over a relative path, or directly over HTTPS.

For example, if you load your images with a full URL:

<img src="http://example.com/image.jpg" />

You would want to change this to:

<img src="//example.com/image.jpg" />

By removing the http:, the browser will use whichever protocol the visitor is already using. An alternative option would be to enable the Automatic HTTPS Rewrites feature that can potentially fix these errors for you automatically. Do be aware that resources loaded by JavaScript or CSS will not be automatically rewritten and mixed content warnings will still appear.

See this Cloudflare Community Tip for further details.

There are various plugins available if you use a CMS such as WordPress to help fix this.

1 Like

thanks @domjh! enabling Automatic HTTPS rewrites and Always Use HTTPS on Cloudfare solve the issue.

3 Likes