DDNS not working

Steps to reproduce
1. Router port forwards my OwnCloud server port 80 if you connect to address:222
2. Owncloud is told to accept the connection

Expected behaviour
The user should be able to reach Owncloud using the DDNS

Actual behaviour
The remote DDNS (NO-IP) connects for about 5 minutes but then times out

Server configuration
Operating system: Debian 8.2
Web server: Apache
Database: MySQL

Hi,

Network and DNS issues are not related to ownCloud as oC is just a webapplication served by your server. So moving this to the "Miscellaneous" category.

So you can use ownCloud for about 5 minutes or does it try to connect before it eventually fails?

Make sure the request pass through your router and passed to your ownCloud server. If that works, you must check your webserver settings. There is a wide range of errors and debugging requires some knowledge. Some tools that might help you:

nmap: can do port scans, you can use it on a computer outside your network to check the open ports
tcpdump: you can record all network activity on a network interface. You can for example run this on your server in order to see if any query reaches your server (even if your webserver is not correctly configured)
host/dig: check the domain name resolution