Install mod_remoteip in Cpanel Server

To install mod_remoteip in Cpanel Server, run

Edit file


Restart Apache.

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

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


Replace with

Restart Apache

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

Leave a Reply

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