• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

CloudFlare problem with non www domains

Alan_SP

Basic Pleskian
Thing is, when you use partner implementation of CloudFlare, like Plesk does, you can't use non www domains (CloudFlare refers to them as naked domains). You only could have CloudFlare on www.domain.com.

This is problem that exists for years now and probably wouldn't be solved.

To use CloudFlare and non www domain, you need to add domain directly with CloudFlare like regular CloudFlare user, bypassing CloudFlare Plesk extension completely (although, you still use second part, StopTheHacker).

It would be good to put some text in that direction in extension description. It took me a while to discover that fact, when I noticed that there's no CloudFlare caching of my website. Having information upfront would be useful in speeding up the process.

Also, you link page where CloudFlare states that: https://support.cloudflare.com/hc/e...-I-use-a-naked-domain-no-www-with-CloudFlare-
 
@Alan_SP,

It is not only about "naked domains", CloudFlare extension is also not working if Plesk is not working as a primary nameserver.

Note that StopTheHacker from CloudFlare also does not work, in the case that Plesk is not working as a primary nameserver.

In general, the whole CloudFlare extension is rather useless, since

a) CloudFlare itself has many pitfalls and undesirable disadvantages, with the number of disadvantages even higher than in the case of using CloudFlare directly (and not the extension),

b) the extension itself should not be dependent of Plesk functioning properly as a primary nameserver: the extension code uses the API and a simple API call will allow CloudFlare to set the most important DNS records (at the nameservers of CloudFlare), allowing traffic to pass or bypass CloudFlare and caching of specific requests. However, this does not work.

In short, the CloudFlare extension is flawed.

Just use CloudFlare directly (or rather, do not: the suggested benefits of CloudFlare are not that relevant and most of those alleged benefits are actually disadvantages).

Regards....
 
Back
Top