Hello, after following the https://help.mikrotik.com/docs/spaces/RKB/pages/154042388/Port+forwarding guide, I’m able to access my HTTP server from the Internet using my domain. Now, when trying to access the HTTP server using the domain from the local network (same subnet of the HTTP server) I reach my MikroTik router web ui instead.
I heard of the hairpin nat or split dns (and I already have a PiHole DNS server) technique but was wondering what suits best my case.
Also I would like to have the most dynamic thing possible (like allowing me to add port forwarding rules without changing a lot of settings).
Hairpin nat is only required if the users are in the same subnet as the server.
So I would make a hairpin nat rule specific to each subnet.
The format provided allows for any number of servers within a subnet.