Not access site local

Hello,

I made the acquisition of a dedicated server running on ESXI, I mounted a router mikrotik (RouterOS), and made a local network.

I have several VMs, so one that runs on Linux (Debian 9) or I installed an apache and put several websites and make conf for domains.

I have good access to my websites from outside my network with domain names however on the local network when I go to my websites I automatically have the page to manage the router.

Thanks for your help.

Use split DNS config or https://wiki.mikrotik.com/wiki/Hairpin_NAT

I prefer to use an internal DNS server to resolve private (internal) IP addresses instead of public IP addresses. This can be easily achieved by adding static entries.