how to add 127.0.0.0.1 as shared IP

1 post / 0 new
#1 Mon, 04/28/2014 - 07:44
vetalanvc

how to add 127.0.0.0.1 as shared IP

Hi All,

I am using Nginx on my main IP and Apache is configured on to accept connections on 127.0.0.1:9091 from Nginx

Apparently all new accounts are set up on the main IP and I have to change it manually to 127.0.0.1 in the apache's config every time.

I have a few questions:

1) Is my setup is Ok? I mean using apache on 127.0.0.1:9091instead of mainIP:9091. I am using this set up to avoid connections from outside to the apache's port.

2) Is there a way to add 127.0.0.1 to the shared IP list? Virtualmin doesn't allow it

3) Also when I restore a backup from my old server, virtualmin set up it on 80 port despite of my settings to use 9091. But when I create new accounts they all set to the correct port 9091. Is it possible to fix?