Windows – Access server using URL locally without going through Internet

networkingsvnurlwindowswindows-server-2012

I have an SVN repo on my server and access it using dynamic IP service https://MyMachine.no-ip.com/svn/etc..

When I connect to it from anywhere I connect successfully and everything is fine.
But when I connect to it locally, within the same network, the speed of uploading/committing files is that of my internet connection (about 1 MB/s) not like when I change the URL to something like https://MyMachine/svn/..

So it is obvious to me that it is using my internet connection while it should be rerouted to the server without leaving the network.

Is there anyway to access my server locally and remotely using the first URL?

Thanks!

Edit:
I connect locally using a D7000 Router (Server is obviously wired – laptop WIFI)
Remotely I connect through a 3g USB modem connected to my Laptop.

Best Answer

Sounds like it could be a couple problems, DNS mainly

However if you want a quick solution use your local hosts file.

In you local hosts file:

192.168.10.111 MyMachine

If you are running a DNS sever in the office you should look into the setting of your NIC and make sure you are pointed to it.