I've setup a web application (http port 8080) for access over the internet. But what I'd like to do is resolve the URL locally when the user is on the LAN and only go via the internet when they are connecting remotely? However, I need to use the FQDN both internally and externally for compatibility with an application. Using the IP Address internally would cause the app to see me as a different client.
The current environment is a simple home setup for test purposes using Windows 7 in a Workgroup. As I don't have a DNS server to configure I assumed I'd be doing something in the hosts file but beyond that I'm lost!
Apologies if this is a daft question but as a developer my networking skills are shaky at best so I was hoping someone on here might be able to help me out.