As advised in this question: Network file-sharing between Linux and Android, I have decided to use ownCloud to store files on my home cloud server.
However, my needs have changed a bit. I want to be able to access my cloud from the Internet, not just my home network.
For that, I need dynamic DNS software. I have that taken care of (domain name and everything) - I will be using DynDNS.
However, when I'm at home, is it possible to configure the server/client so that when I try to access my files it is done through my home network (192.168..) and not via Internet (querying DynDNS and what not), without having to keep the system thinking that there are two different servers?