Nextcloud Server version (e.g., 29.x.x):
AIO v12.5.0
Operating system and version (e.g., Ubuntu 24.04):
Ubuntu 24.04
Reverse proxy and version _(e.g. nginx 1.27.2)
Cloudflare
Summary of the issue you are facing:
I did a local installation with a DYNDNS Domain of Nextcloud AIO running in Docker. According high connectivity on exposed 443 port in the internet, I want to setup Cloudflare in advance.
But all commands to change the domain, when I connect by the new Domain listed in Cloudflare or by local IP 192.168.1.246:11000, I will Always redirected to the old domain.
What are the required steps to change the domain sucessfully an permanent? Any support is highly appreciated. I have added the output from curl command below.
Regards,
Martin
root@nextcloud:~# curl -vk http://192.168.1.246:11000
Trying 192.168.1.246:11000…
Connected to 192.168.1.246 (192.168.1.246) port 11000
GET / HTTP/1.1
Host: 192.168.1.246:11000
User-Agent: curl/8.5.0
Accept: /
< HTTP/1.1 302 Found
< Content-Length: 0
< Content-Security-Policy: default-src ‘self’; script-src ‘self’ ‘nonce-dGxkEfhdNuUa3tOV+fiMgcdubATWOpvCsPwiotPW5S0=’; style-src ‘self’ ‘unsafe-inline’; frame-src *; img-src * data: blob:; font-src ‘self’ data:; media-src *; connect-src *; object-src ‘none’; base-uri ‘self’;
< Content-Type: text/html; charset=UTF-8
< Date: Wed, 28 Jan 2026 14:36:37 GMT
< Location: https://mohnweg-nc./login
< Referrer-Policy: no-referrer