Hello everyone,
I have a problem in setting up a local copy of DNN but which will point to the real DB. Here is my situation
I have a server to which I have a Remote Desktop Connection, DNN will run on this server, so I call it Live, also I have another server with DB on it is situated in the same network as the Live server. And finally I have my working PC which is connected to the network (where Live and DB servers) thru VPN, so logically I must be in the same LAN as the Live and DB server.
What I want, I want to work with local copy of DNN on my work PC and after I add/modify some of my custom modules I want just to update the code on the Live server (simply rewrite server code with the latest from my PC). Because when customizing DNN it changes some values in DB i decided to link my local copy directly to the Live DB (so it would be shared between local PC version of DNN and Live version of DNN, in fact let's imagine that code of DNN on local and Live PC is always synchronized).
Url of my DNN is "journalDNN" and it has an IP like 10.1.1.1, to test it on my local PC I have edited hosts file and added entry
journalDNN 127.0.0.1
so when I enter journalDNN in browser it contacted my web site instead of Live. But when I try to visit that journalDNN link it just hangs, I have checked and double checked everything and the same version of the code works perfectly on the Live server.
Where can be the trouble located?