How to do it...

To create and test a CNAME record, perform the following instructions:

  1. WEB1 is hosting a website and a file share. Currently, the only DNS record that exists for WEB1 is the primary A record, so users have to type in the WEB1 name to access both the website and the file shares. Our goal is to create aliases for these services by using CNAME records in DNS. First, we log into the DNS server and launch DNS Manager.
  2. Once inside DNS Manager, expand Forward Lookup Zones and then your domain name so that we can see the list of DNS records that exist already.
  3. Now right-click on your domain and select New Alias (CNAME)...
  4. We would like our users to be able to browse the website by typing in http://intranet. So in our CNAME record, ...

Get Windows Server 2016 Administration Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.