How to Add a CNAME

A CNAME (or "Canonical Name") is an alias or an additional host name that is resolved to the IP address of an existing host computer in the DNS namespace. For example, if you use the same computer as both a Web server and an FTP server, you may want to resolve both the WWW host name and the FTP host name to the same IP address. Using a CNAME, you can resolve both names to the same IP address.
To create a CNAME:
1.
Start the DNS snap-in.
2.
Click the DNS Server object for your server in the left pane of the console, and then expand the server object to expand the tree.
3.
Expand Forward Lookup Zones.
4.
Under Forward Lookup Zones, right-click the zone that you want (for example, example.com), and then click New Alias (CNAME).
5.
In the Alias name box, type the alias that you want. For example, type ftp.
6.
In the Fully qualified name (FQDN) for target host box, type the fully qualified host name of the host computer that you want. For example, type www.example.com, and then click OK.

0 comments:

Post a Comment