大网数据广告活动
网络与域名解析

Create an Alias (CNAME) Record in DNS for WEB1

· 52CE 我爱测

Learn how to add an Alias canonical name (CNAME) resource record for your Web server to a zone in DNS on your domain controller.

You can use this procedure to add an Alias canonical name (CNAME) resource record for your Web server to a zone in DNS on your domain controller. With CNAME records, you can use more than one name to point to a single host, making it easy to do such things as host both a File Transfer Protocol (FTP) server and a Web server on the same computer.

Because of this, you are free to use your Web server to host the certificate revocation list (CRL) for your certification authority (CA) as well as to perform additional services, such as FTP or Web server.

When you perform this procedure, replace Alias name and other variables with values that are appropriate for your deployment.

To perform this procedure, you must be a member of Domain Admins.

To add an alias (CNAME) resource record to a zone

Note: To perform this procedure by using Windows PowerShell, see Add-DnsServerResourceRecordCName.

  1. On DC1, in Server Manager, click Tools and then click DNS. The DNS Manager Microsoft Management Console (MMC) opens.

  2. In the console tree, double-click Forward Lookup Zones, right-click the forward lookup zone where you want to add the Alias resource record, and then click New Alias (CNAME). The New Resource Record dialog box opens.

  3. In Alias name, type the alias name pki.

  4. When you type a value for Alias name, the Fully qualified domain name (FQDN) auto-fills in the dialog box. For example, if your alias name is "pki" and your domain is corp.contoso.com, the value pki.corp.contoso.com is auto-filled for you.

  5. In Fully qualified domain name (FQDN) for target host, type the FQDN of your Web server. For example, if your Web server is named WEB1 and your domain is corp.contoso.com, type WEB1.corp.contoso.com.

  6. Click OK to add the new record to the zone.

Source: Microsoft Learn / Windows Server documentation by Microsoft and contributors (upstream author metadata: robinharwood). Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Server documentation
适用范围
Windows Server · Source date 08/07/2020
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。