Hello,
I have a no-ip account and I can access my device from outside my local network typing something like :
However, when I am connected on my LAN this does not work and I have to type http://wdmycloud.local (on my MAC). So I have two adresses that work depending on if I am connected through my local network or the internet.
I want to use only one common adress (and of course it has to be myname.no-ip.org). I understood that I can create and alias by modifying the file /etc/host and adding the following line :
127.0.0.1 myname.no-ip.org
When I restart the networking interface with
/etc/init.d/networking restart
The /etc/host file goes back to its initial setup which is :
127.0.1.1 WDMyCloud
::1 localhost ip6-localhost ip6-loopback
127.0.0.1 localhost.localdomain localhost
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
And of course I cannot reach my NAS by typing myname.no-ip.org Did I made something wrong or I am trying to accomplish something impossible?
Thank you.