2 web-servers on 1 port?

Thanks for warning.

I’m looking for diligent decision make possible internal apache works only in lan, but all incoming tcp packets forwarded to chrooted apache.

Chroot apache as mentioned above is located /datavolume partition which dont affect main system.

If I will change listening port of main apache - it will crush webgui of NAS.All connections between main services lie deep inside wd debian operation system and I cant do anything with that.

The catch is that two daemons cant work with same port at the same time!

Maybe some tricky rules of iptables will help… but what?