Point a Server Using Domain From Windows Server 2016 [closed]

Solution 1:

To do this, you need to set up the following (very common and standard) things:

  1. Make sure your DNS server is set up as a recursive resolver or forwarder, so that hosts can resolve Internet sites through it
  2. If you have a Windows domain, make sure your DNS server knows about it and can resolve names in it
  3. Instead of whatever your router is now giving out as DNS servers (or whatever you may have statically configured), have your router give out the IP addresses of your DNS server you set up
  4. Make a DNS record on that server that points at your web server's IP address
  5. Restore all the hosts' HOSTS files to the factory default, or at least remove the entry for your webserver.

The point here is... essentially, computers only have one view of DNS, provided by their DNS servers. If you want to set up your own DNS records you have to have your computers resolve through your own DNS server, which you set up. It has to provide all the DNS records they need, including ones from the Internet and ones from your AD domain if you have one.

I'd suggest, very strongly, reading up on how DNS works and trying this in a lab.