We have a Debian Web server and would like our local LAN user to access the server by local ip - but would like the public to access the server using the static ip.
how can we set this up so that when local user open www.domain.com - they are transferred to 192.168.1.111(our web server ip); but if outside the network access www.domain.com they are sent to [PUBLIC IP].
[PUBLIC IP] access is working but our local users are also use the public route to return back to web server.