I have 10 systems in our network, I have assigned static IP(private IP) for all systems manually. There is a web server running in our network with private IP say 192.168.2.15. What I want is instead of type http://192.168.2.15 in browser and access webserver, everyone(only LAN users) should use a name say http://mydomain.com or http://mydomain.local in browser. How do I do this with mikrotik router 750GL?
NOTE: the domain shouldn’t be accessible from outside LAN.
niren@hammett:~$ nmcli dev list iface eth0 | grep IP4
IP4.ADDRESS[1]: ip = 192.168.2.4/24, gw = 192.168.2.1
IP4.DNS[1]: 192.168.2.1
IP4.DNS[2]: 202.83.21.12
192.168.2.1 is router address for LAN users.
Tests I did:
niren@hammett:~$ ping mysite.com
ping: unknown host mysite.com
niren@hammett:~$ traceroute mysite.com
mysite.com: Name or service not known
Cannot handle "host" cmdline arg `mysite.com` on position 1 (argc 1)