Hello,
I have on my network two NextCloud servers, each one of them have Apache installed and configured the ports for http: 80 and https:443
I managed to forward the traffic to the first NextCloud Server creating the NAT and Filter Rules. But I am facing problems when I want to access the servers from outside my network, it will forward my traffic to the first web server, even that I configured another NAT Rule with the destionation to the other NextCloud Server. I cahnged the ports for http: 8080 but again is not working.
What it can be the reason?
There can be some mistake. Which I agree is not very useful answer, but since you didn’t show us what exactly you did, you can’t expect much.
I managed to fix the issue by changing the port http/https ports to other ports such us 8080 or 444. I had to allow this two ports to go through the firewall of the NextCloud.
After that, I did the normal way of forwarding the ports 8080 and 444 at the router. So, The router Configuration was ok, but I had to change the ports at the server.
thanks
Of course you could have translated the ports back to 80 and 443 in the MikroTik and not have that issue.
Then you also would not need any special configuration in the webservers.
Of course running on a nonstandard port (externally) is going to cause you other issues, but that is a consequence of being cheap.
(and having only one external IP)