we are using Apache2 to host multiple sites on one system in our local network. One such site is the following:
<VirtualHost *:80>
ServerName wiki.idi.local
DocumentRoot /srv/dokuwiki/engineering
</VirtualHost>
On our local DNS server we forward the address wiki.idi.local to the PC hosting the site and everything works as expected.
Since this week we have obtained a way to access our local network from outside by mapping local IP addresses to an external one (redirect through a proxy). So for example address 3.205.151.6 (external) is redirected to 172.16.1.6 (internal). This worked fine for the sites where in the VirtualHost the DocumentRoot would be localhost:port. In this case we can simply call 3.205.151.6:port to access our systems. The problem is that in the case mentioned above I can't find a way to access the site through IP only. Is there any way to do this without having access to the proxy that does the forwarding?