Skip to main content

example.com/cpanel times out when using Cloudflare

Comments

5 comments

  • cPRex Jurassic Moderator
    Hey hey! I know you said the fix isn't relevant, but have you confirmed that Cloudflare is reaching the server properly? 522 is a timeout of some sort, so there likely wouldn't be anything to check on the cPanel side of things as the connection isn't completing.
    0
  • GoWilkes
    Everything else is working properly, just not example.com/cpanel or example.com:2083. My initial theory was that there might be a DNS setting for cPanel that didn't get copied over to Cloudflare? After posting this I've noticed that there are some records that aren't there; default._domainkey.example.com, for example. Is there a DNS record that's required for cPanel to work?
    0
  • cPRex Jurassic Moderator
    No, there are no DNS records required for cPanel to work. The only possible exception would be the service subdomains, such as cpanel.domain.com, but that isn't the case in your examples.
    0
  • GoWilkes
    Hmm. I couldn't find the answer to this, and it's probably either super simple or incredibly complex. But can you explain how, exactly, the /cpanel directory and/or :2083 port works? I don't have a literal /home/example/www/cpanel directory or symlink. If it's not redirected somewhere by DNS, then how (and to where) is it redirected?
    0
  • cPRex Jurassic Moderator
    I think it's just average complex for cPanel :D /cpanel and the port access works through a specific vhost inside Apache. You'll see some various Proxymatch statements and ScriptAliasMatch statements that call various CGI redirect scripts if you check out the Apache configuration directly. That's why anything.com:2083 will get you access to the server - you just have to enter the correct username and password once you're there. I'd reach out to Cloudflare and see what they have to say, since the traffic isn't reaching your cPanel server at all. (you could further confirm that with a tcpdump test, but a 522 indicates a timeout/no access from the sender making the request)
    0

Please sign in to leave a comment.