Problem of writing “www.” with SSL and enabled Cloudflare

When i enable the SSL service at my hosting provider, i suddenly found there is a problem when i type “www.” (like: www.moradhamdy.com) in the browser address field. I found it’s not loading the website. But when i add this “.www” (like: moradhamdy.com), then i found it’s working.

So i contacted the hosting provider support, and they told me to change the SSL to Full(strict).

This fixed the issue and the website became without this issue.

So i decide to share this information with others who may face this problem and don’t know what is causing it.