Real people, 24/7(800) 395-7779

Real Visitor IP Addresses Behind Cloudflare Print

  • 0

When your site is proxied through Cloudflare, every request reaches our server from a Cloudflare address. Cloudflare adds the visitor's real address in a header called CF-Connecting-IP.

cPanel Hosting (Linux Shared and Managed VPS):

  • Our cPanel servers are already configured to use the CF-Connecting-IP header, so you do not need to install anything. The real visitor IP address appears in:
  • Your access logs and cPanel Metrics (Visitors, Raw Access, Awstats, Errors).
  • WordPress and other applications (comments, login limits, security plugins).
  • Our server firewall and Imunify360.

Because the firewall sees real visitor addresses, a visitor blocked on our server (for example, after repeated failed logins) stays blocked even when coming through Cloudflare, while Cloudflare's own addresses are allowed so Cloudflare itself is never blocked. To get a visitor unblocked, see How to Remove a Blocked IP Address or open a ticket with their IP address.

Windows Hosting (Plesk):

  • Website logs may show Cloudflare addresses instead of visitor addresses. Your application can read the visitor's address from the CF-Connecting-IP request header. If you need help with this for your application, open a ticket.

Do Not Install Extra "Real IP" Fixes on cPanel

  • Plugins or .htaccess code that rewrite the visitor IP are not needed on our cPanel servers and can cause wrong addresses in your logs. If a WordPress plugin offers a "reverse proxy / Cloudflare IP" setting, its default or "REMOTE_ADDR" option is normally correct here.

Please note: PeoplesHost is not Cloudflare and does not manage Cloudflare accounts.

Need help? Open a ticket at https://my.peopleshost.com/submitticket.php and our support team will be glad to assist.


Was this answer helpful?

« Back