Problem
When I’m in my LAN/WLAN (Gigabit) and want to sync my files with the nextcloud-client via https://nextcloud.mydomain.com to my server, following happens when I start the client: In the beginning (2 seconds) speed is as expected and then it gets slower until it stalls. I never get past max. 20 MB sometimes less. It also seems to block the whole bandwith as netflix becomes unwatchable due “no” bandwith. When I kill the Client - within seconds everything goes back to normal in the LAN/WLAN.
When you’re connecting to your NC instance - and I assume, that you don’t have an internal DNS server, which directs your client to the local IP of your NC instance, but instead routes all traffic though your internet gateway. A surprisingly high number of SOHO router have issues with such a setup.
Try setting up an internal DNS resolver, which has the IP for your NC instance point directly to the internal address.
Or just added your Local IP nextcloud.mydomain.com to the hosts file of your local PC. E.g.:
192.168.0.100 nextcloud.mydomain.com
This will drive to route your traffic in local network only. Issue: it dos not work when you will take you laptop with you and access your NC via internet. You need to comment this line in this case.
Hi and thank you to all of you for your suggestions and help.
Accessing nextcloud is accessible via browser using the domain. I have not yet tested “heavy duty” data transfer to see if it creates the original Problem again.
For now I have opened another port on the nextcloud-docker-container for LAN use - - > works fine.
The plan for now is the following:
I have my ISP changing anyway next week. Then I get a new router which allows altering DNS-Server. I intend to set up pihole and point the Router to pihole for DNS. In pihole I can setup manual entries that apply to all devices - AFAIK… This should solve the problem as well, now that I know what it mostlikely is.
The Answer is: use a router that can handle it! My new ISP sent me a Fritzbox as Router - voilà : all problems gone… without me doing anything! So budy was right.
FritzBox is good, but if you need to pay for it, it is quite expensive, as alternative you can put ether dd-wrt, or open-wrt on yout older Router and get more advanced features.