I have a local network with many devices (windows based, android based and, Linux based). I also have one Windows-based server with IIS 10 install on it. On the IIS I have several websites (mostly API's and some MVC's, all of them are ASP.Net CORE based).
On all other devices, I've set the default gateway to be my server. On the IIS I've set all sites to be [SITE NAME].local (api1.local, api2.local etc.). When I try to access those sites from any other device on my network it doesn't work.
I assume I need to do the following 2 steps: 1. Set the default gateway on all those devices to be my server. 2. Create DNS server on my server, and create A records inside this DNS server.
My questions:
- Is my assumption correct?
- How do I create a DNS server on my windows server? I read something about installing IPAM, but my server is not part of a domain.
PS. I read this post. I don't want to use the hosts file approach since I have multiple devices and keep adding addresses all the time.
Thanks in advance!