"Domain does not point to this server or reverse proxy not configured correctly."

Using synology reverse proxy and hosting nextcloud on a different machine


Hello, please follow all-in-one/reverse-proxy.md at main · nextcloud/all-in-one · GitHub

I am already following it
Here are my config is my machine where i host my nextcloud AIO


You obviously need to use the chosen apache_port in your reverse proxy settings and not port 8080.

Hm i didnt set a apache_port

Right. Then you have not read the reverse proxy documentation at all.

Alright then lemmie try that again, i will come back in a sec

Alright so i ran the command

sudo docker run -it \
--name nextcloud-aio-mastercontainer \
--restart always \
-p 8080:8080 \
-e APACHE_PORT=11000 \
--volume nextcloud_aio_mastercontainer:/mnt/docker-aio-config \
--volume /var/run/docker.sock:/var/run/docker.sock:ro \

so the apache_port should be 11000, what do I do now?

Point your nextcloud ssl config to

Sorry but I am a newbie to these
So do you mean port 80 → 11000
or port 443 → 11000
or something else?

This one i mean

So I pressed submit with the domain name and uh
It does nothing i think, at least i didnt see anything…

Not even an error message at the top right?

Yeah, it poped nothing

Do you have javascript enabled?

Yes, I have js enabled

So you are not able to type in and confirm your domain and do not get any error message?

Oh wait i got error page not found returned by my reverse proxy
My current settings:

Using to connect:

Does Nextcloud SSL have a valid certificate and is your domain correctly configured and port 443 opened in your firewall/router?

Yes I have. I have also portainer deployed on this machine and https work
Nextcloud SSL have a vaild cert