I have a freenas home server, with owncloud 9.1 installed. I configured a dynamic DNS service to access to owncloud from the Internet. But I have a problem, because my domain (public IP is kept updated by a router) only redirect me to my home's public IP (trough a reserved port) . So every time that the public ip changes I get the message "add" [public Ip:port] as a trusted domain? ". And when I'm not connected to my home local network I can't add the new public IP to the config.php file. I tried to mask the IP of the redirection in the setup of dynamic DNS service and add the domain "owncloud.example.com" to the config.php file but then if I try to connect to owncloud, I only see a blank page in the browser, probably because of the ip masking turned on in the dynamic DNS service configuration. How do you think I can solve this problem?
Thank you for the answers!