Install mod_remoteip in Cpanel Server

To install mod_remoteip in Cpanel Server, run

Edit file

Add

Restart Apache.

At this stage, PHP applications will show the proper visitor IP addresses.

Apache access logs will still show the proxy server IP. To fix this, edit the Apache configuration file.

Find

Replace with

Restart Apache

Cloudflare Restore Real IP Address in Cpanel Server

Back to Cpanel Server

Need help with Linux Server or WordPress? We can help!

Leave a Reply

Your email address will not be published. Required fields are marked *