© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Cloudflare DevelopersCD
Cloudflare Developers•16mo ago•
1 reply
K0c0puFFz

522 when proxied

Good Day everyone, I am running an Ubuntu EC2 instance on AWS, using Apache2 as the WebServer, with configured virtualHosts. I have googled and taken the following steps to troubleshoot Apache and the vHost configuration.

• Turned off the proxy for the domains A record
• Added HTTP and HTTPS allow rule from the Public IP I was operating at in the instance security group incoming connections.
• flushed the DNS Cache of the system I was testing from, until I saw the direct IP address of the webserver.
• typed the domain name into my browser and it returned the expected vHost directory index.htm file.

When turn the proxy back on the A record for that domain, I don’t even see a hit on the /var/log/apache2/access.log

There’s another website on that same server, and it never fails; I see 200 on the access log, and expected output. I’m out of ideas at this point and yes I have googled the issue but there is no quick answer. Would anyone here happen to have any additional troubleshooting suggestions? Thanks in advance.

—
K0c0puffz
Cloudflare Developers banner
Cloudflare DevelopersJoin
Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news
85,042Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

522 timeout on proxied AAAA record
Cloudflare DevelopersCDCloudflare Developers / general-help
2y ago
__cf_bm when proxied
Cloudflare DevelopersCDCloudflare Developers / general-help
3d ago
Proxied but not proxied?
Cloudflare DevelopersCDCloudflare Developers / general-help
2y ago
Bot detection when API is proxied
Cloudflare DevelopersCDCloudflare Developers / general-help
2d ago