defaria
27th October 2008, 01:35 AM
I run my own email server at home. When my HTC Touch Diamond is connected to my home network say via WiFi I need to contact my server (defaria.com) with it's private IP (192.168.x.x). However when I'm connect to the internet via say WiFi I need to contact my server via its public IP address (65.101.22.21).
What I want to do is override defaria.com's IP address but only on my internal WiFi connection. IOW I wish to set the /etc/hosts for this specific WiFi connection. Can this be done?
What I want to do is override defaria.com's IP address but only on my internal WiFi connection. IOW I wish to set the /etc/hosts for this specific WiFi connection. Can this be done?