there could be multiple reasons, starting with router “rebind protection” but could be another issue e.g. missing port forwarding (for IPv6). Take a look at this discussion and specially this drawing
it describes the fastest and most stable way to implement local access using “slpit-brain” or “split-horizon” DNS.