Lets say I have a webserver that's at 10.0.0.10 that is linked to an external ip (web.mycomputer.com).
How can I make it so that if I'm inside the office, I can use the url web.mycomputer.com to go to 10.0.0.10. Then if I'm outside the office, I want that web.mycomputer.com to go to the external ip.
I know I can change the hosts file, but I would prefer not to have to change it each time my location changes. Also, I can't expect others to do this.
What's a simple way of doing this?
How can I make it so that if I'm inside the office, I can use the url web.mycomputer.com to go to 10.0.0.10. Then if I'm outside the office, I want that web.mycomputer.com to go to the external ip.
I know I can change the hosts file, but I would prefer not to have to change it each time my location changes. Also, I can't expect others to do this.
What's a simple way of doing this?