Posted: Sun Oct 12, 2008 8:09 pm Post subject: Per network conection settings
I run my own web server at home. Apparently this is not common. This means from the general internet my server, defaria.com's IP address is 184.108.40.206. However from my local LAN at home it's 192.168.1.103.
For the PCs at my house I simply make a hosts file that says defaria.com -> 192.168.1.103 and everything is fine. When I'm at work, outside my local LAN, DNS resolves defaria.com -> 220.127.116.11.
Now comes my new WM 6.1 phone. I configured my email to come from my server, defaria.com. Now when I go through external networking like through the Sprint network, defaria.com resolves -> 18.104.22.168 and email is retrieved without a problem.
However when I connect to my own WiFi, defaria.com still resolves to 22.214.171.124 and things are *not* good. Email fails and when I browse to my domain I see my router page instead of my home page.
I want to configure the mapping of defaria.com -> 192.168.1.103 IFF I'm using my own WiFi. Is there a way to configure this?
You can't do this the way you want. Why? Because Windows Mobile caches the name to IP address. I suggest that you use a separate name for the internal sites versus the external sites.
To clear the cache, you have to perform a soft reset.
You mean like defaria.com and defaria2.com? If so then that's totally stupid! How would that work in the context of emails then? I'd have to set up two accounts, one for when I'm connected internally and one for when I'm external?!?
There is a registry equivalent to /etc/hosts but the problem is that that is global and not per network. If it were then that would be my simple solution.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
Copyright 2001-2010, Chris De Herrera, All Rights Reserved