Fix Apache NAT Problem on cPanel

Your apache server after hardening, mod_lsapi and NGINX as reverse proxy. Source: Millitary.com.
An Apache after security hardening, mod_lsapi and NGINX as reverse proxy.
source: millitary.com

Since the update 11.58, I noticed that cPanel NAT solution wasn’t working with Apache on Amazon Web Services and Google Cloud Engine.

Apache was using the public IP on the VirtualHost. Bad bad boy.

As far as I’m concerned, you don’t want to change the public IP to the internal IP every time some httpd.conf edition is made.

Continue reading