Submit domain return error

,

Hello,
I installad nextcloud AIO via docker on debian 12 machine.
I add the domain (nextcloudfablab.duckdns.org) on the hosts file on the machine.
I add it on the hosts on the dnsmasq server (other machine).
I add it on the duckdns.org web service.
When I ping the machine from the nextcloud host it respond but not from other machine in the local network but a request to the external ip is provided.

I redirect ports 443,80, 3478/udp and 3478 from the internet router.
ufw (firewall) is not actually activ on the nextcloud server

When I try to submit domain (nextcloudfablab.duckdns.org) I receive the following message:
The domain is not reachable on Port 443 from within this container. Have you opened port 443/tcp in your router/firewall? If yes is the problem most likely that the router or firewall forbids local access to your domain. You can work around that by setting up a local DNS-server.

What can I do to solve the problem ?
Where can I see logs
Many thanks for your help
Thierry

What I don’t undestand is:
When I ping the domain nextcloudfablab.duckdns.org the ip address is correctli substitued.
But when I enter the same nextcloudfablab.duckdns.org on the browser, the response from the browser is: This site can’t be reached.

Thierry,

It sounds like you’ve done quite a bit of setup already! Here are a few steps you can take to troubleshoot and resolve the issue:

  1. Check Port Forwarding: Ensure that port 443 is correctly forwarded on your router to the IP address of your Nextcloud server. Double-check the router settings to confirm this.
  2. Firewall Rules: Even though ufw is not active, ensure that there are no other firewall rules blocking port 443. You can check this with iptables -L or similar commands.
  3. Docker Network Configuration: Verify that the Docker container is correctly configured to expose port 443. You can check this in your Docker run command or Docker Compose file.
  4. Logs: To get more detailed information, check the logs. You can find Docker container logs by running docker logs <container_id>. Additionally, check the Nextcloud logs located in the data directory of your Nextcloud installation.

If you’ve tried these steps and are still facing issues, please provide more details about your network setup and any error messages you see in the logs.

Hello, thanks for your reply.
I installed nextcloud AIO via docker.
Is that mandatory to install a proxy server ?
Is that already installed with the docket image AIO ?
Must I modify some config files of nextcloud AIO ?
Thanks for your help