You are currently offline, waiting for your internet to reconnect

Creating a DNS Alias Record

This article was previously published under Q168322
This article has been archived. It is offered "as is" and will no longer be updated.
SUMMARY
This explains why a Domain Name Service (DNS) Alias record is needed, andhow to create it.
MORE INFORMATION
Sometimes it is useful to be able to access a server (or any host) by usinga name other than its DNS host name.

For example, you have an Application Server whose DNS configuration is asfollows:
   Host Name   Domain Name   ---------   -------------   myserver    mydomain.com				

You have also setup your server as a WWW server so Internet or Intranetbrowsers can access Web pages from it. You want people to access your Webserver by specifying www.mydomain.com as its name instead ofmyserver.mydomain.com.

To accomplish this, an alias (or canonical name) record needs to be addedto your DNS server.

The DNS server should already have the following record under themydomain.com zone (IPAddress should be the IP address of your server):
   Myserver   A   <IPAddress>				

The following record should be added to the mydomain.com zone:
   www   CNAME   myserver.mydomain.com				

When a DNS server looks up a name and finds a "CNAME" record, it replaces thename with the canonical name, and looks up the new name, in this case,www.mydomain.com.

canonical
Properties

Article ID: 168322 - Last Review: 12/04/2015 16:57:27 - Revision: 1.1

Microsoft Windows 2000 Server, Microsoft Windows 2000 Advanced Server, Microsoft Windows NT Server 4.0 Standard Edition

  • kbnosurvey kbarchive kbhowto kbnetwork KB168322
Feedback