• I am getting CloudFlare host error page on one of my websites. It comes up randomly. CloudFlare shows me the Host error page(similar to image below) or loads the archived version of page as the Always Online option is enabled in CF.

    Details about website and server:
    Website Traffic: About 470k a month
    Server: $80 per month plan on upCloud
    Server config: Ubuntu 20.4 LTS, Apache2, PHP FPM 7.4 and MariaDB
    Pagespeed insights:

    I contacted the upCloud support and they said to check server uptime with uptime command, and it was up from the time , I created the server. I am also monitoring the website and server PING in Pingdom, no downtime there.
    I am using the following Firewall rules in CF for my website.

    What can be the possible issue? Any solution? Is there any issue with WordPress or my server config?

Viewing 1 replies (of 1 total)
  • I contacted the upCloud support and they said to check server uptime with uptime command, and it was up from the time , I created the server. I am also monitoring the website and server PING in Pingdom, no downtime there.

    Ping uses ICMP, and uptime just means the host… ie the physical or virtual server… is running. They don’t say anything about any software running on the server.

    Even if you never installed your Apache webserver software (which is required for websites to run), you’d still see your uptime and get ping replies. So those two tests don’t really say much about the kind of problem you’re having.

    And your hosting provider asking you to run the uptime command is their polite way of saying that you have an unmanaged (aka self-managed) server from them, and their responsibility ends when you see the server is running ??

    Problems like this should definitely be logged somewhere on your server.

    So check your server’s logs to know exactly what’s happening on the server when Cloudflare is unable to connect to it (ie 502 gateway error).

    Once you know what the problem is, only then can you work out a solution.

    Details about website and server:
    Website Traffic: About 470k a month
    Server: $80 per month plan on upCloud
    Server config: Ubuntu 20.4 LTS, Apache2, PHP FPM 7.4 and MariaDB

    I’ve checked the specs of the server on upCloud’s website, and this server should be able to cope with this load if the server and WordPress are properly tuned for performance.

    If you’re getting this much traffic and these downtimes are affecting your bottom line, and if you don’t eat and breathe “server administration” every minute, I’ll highly suggest you switch to a managed WordPress hosting provider, rather than using a self-managed cloud server.

    Specific hosting recommendations are not allowed here, but there are several reputable managed WordPress hosting providers out there that can handle your site at about the same (or even less) cost as what you’re paying now.

    And I’m talking of serious WordPress hosts with custom-built WordPress hosting infrastructure (eg WordPress.com, LiquidWeb, Kinsta, Pressable, WPEngine, etc)… and not cPanel/Plesk traditional shared hosting providers that have simply branded their shared hosting as “managed WordPress hosting”.

    Good luck!

Viewing 1 replies (of 1 total)
  • The topic ‘Website showing CloudFlare host error page sometimes’ is closed to new replies.