Nextcloud instance reachable from, but not from

My nextcloud instance is reachable from, but not from I use a ddns provider (no-ip), can that be the issue?

Web server is nginx, error message is: “page not found”

here is my config:

server {
    listen 80 default_server;

root /var/www;

location ^~ /.well-known/acme-challenge {
        proxy_redirect off;
location / {
        # Enforce HTTPS
        # Use this if you always want to redirect to the DynDNS address (no local access).
        return 301 https://$server_name$request_uri;

        # Use this if you also want to access the server by local IP:
        #return 301 https://$server_addr$request_uri;

server {
    listen 443 ssl http2;

    ..... ssl stuff and so on

            location ^~ /nextcloud {
            # Set max. size of a request (important for uploads to Nextcloud)
            client_max_body_size 10G;
            # Besides the timeout values have to be raised in nginx' Nextcloud config, these values have to be r$
            proxy_connect_timeout 3600;
            proxy_send_timeout 3600;
            proxy_read_timeout 3600;
            send_timeout 3600;
            proxy_buffering off;
            proxy_request_buffering off;
            proxy_max_temp_file_size 1024m;
            proxy_set_header Host $host;
            proxy_set_header X-Real-IP $remote_addr;
            proxy_redirect off;

Thank you

As long as the DDNS provider forwards your request to your own router/server it is most likely
a problem of your web server configuration. I think aunt G. has the answer for your problem:

Have you even read my question?

  1. I am using nginx
  2. from my config: server_name;

furthermore I dont want a redirect as I want other services to run f.e.

Have you even read my answer “As long as the DDNS provider forwards your request to your own/router …” :wink: Have you double-checked that the request reaches your server? Only if
this is guarantied it is worse to check the server configuration.

No, there is nothing I can find on the no-ip faq’s and I do not know how to check it

First you can try a nslookup of both DNS names over the Internet, which should resolve the same
ip address. Then you monitor the web servers access/error log files while you’re accessing the url.
In one if the mentioned files you should find an entry afterwards.

Ok, I figured out that no-ip does not support, so I moved to duck-dns, which does support it.

Thank you for your help!