I am presuming that you run the servers with a private IP address and the router does port forwarding from the outside.
As a quick and dirty (and free) fix you could edit the hosts file on your local client machines to point the server hostname to its LAN IP address;
127.0.0.1 localhost
192.168.2.2 www.yourdomain.com
Windows machines use hosts files as do Macs, Linux and unix machines. It might be more tricky to achieve on mobile devices.