0

I have an ubuntu 16.04 machine running nginx server. It serves an web app and every pc in my network can access the web app by typing the ip 192.168.0.31 in browser. How can I make a custom name like mydomain.local resolved to this ip?

All the pcs and laptops including the server in my network are connected in a mikrotik router. I have looked up methods to setup local dns server using bind9 but that's not quite working for me. An step by step guideline could be a great help for me.

Thanks in advance.

sparkitny
  • 1,503
  • 4
  • 18
  • 23
ibnul_K
  • 1
  • 2
  • If your workstations are configured to use Mikrotik router as their DNS server, you can go to MT Webfig, IP, DNS, Static, and add an entry there. – Dusan Bajic Jan 22 '18 at 10:26
  • My problem was solved by putting the IP of the DNS server in the routers of my network. Thank you for your response – ibnul_K Feb 04 '18 at 07:13
  • https://youtu.be/SATEOZwjw4U Hope this helps. As you are using it on the local network. – Asim Feb 02 '18 at 15:35
  • Thank you for your response. It turned out i configured bind9 correctly. I just had to put the IP of the DNS server in the routers of my network. – ibnul_K Feb 04 '18 at 07:15

0 Answers0