There are lots of excellent articles relating to the setup of FTP, DNS, Windows Server 2016, domain names and routers. What I am looking for is a procedure to link them all together for my home network.
- A router with an IP address from an ISP which is as good as being static and provides through DHCP addresses within the 192.168.1.x range for all attached devices.
- A Windows 2016 server that always receives address 192.168.1.9 from the DHCP server.
- A domain name with DNS hosting from a domain name provider.
On the router I have port forwarded ports 21 & 80. On the server, I have enabled IIS and FTP roles and can access the default web page with ISP supplied address of w.x.y.z:80 and the ftp with w.x.y.z:21.
At the domain name provider's website, I have linked the domain name to the address w.x.y.z. Entering MyDomainName into my browser, I get the default webpage.
What I would like to do is setup a DNS server role on the Windows 2016 server so from the browser I can enter “www.MyDomaninName” and “ftp.MyDomainName” and return the web and FTP pages respectively.
Now here’s the bits I'm having trouble with:
When I setup the DNS server, will the current setup at domain name provider automatically find it?
Will I need to cancel the DNS hosting from the domain name provider?
Setting up a DNS server will require two name servers. Do I use the two currently being used by the domain name provider? If not what what do I use?
The ftp and web services run on ports 21 & 80 respectively from the
same server. Can the DNS server handle the different ports or will I have to set up virtual machines using different IP addresses?
I am looking for an answer explaining what to do and what to expect, not how to do it – I can get that elsewhere.