Creating a DNS Alias Record

Article translations Article translations
Article ID: 168322 - View products that this article applies to.
This article was previously published under Q168322
Expand all | Collapse all

SUMMARY

This explains why a Domain Name Service (DNS) Alias record is needed, and how to create it.

MORE INFORMATION

Sometimes it is useful to be able to access a server (or any host) by using a name other than its DNS host name.

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

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

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

The DNS server should already have the following record under the mydomain.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 the name with the canonical name, and looks up the new name, in this case, www.mydomain.com.

Properties

Article ID: 168322 - Last Review: February 22, 2007 - Revision: 1.1
APPLIES TO
  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows NT Server 4.0 Standard Edition
Keywords: 
kbhowto kbnetwork KB168322

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com