Chapter 6: Creating Scalable and Highly Available Web Sites
141
server named fred.yourcompany.com, you could assign it an alias of
www1.yourcompany.com so that users never see fred.yourcompany.com in the
event of a server redirection.
To see how all of these records work together, let’s look at a simple example. Suppose
there are two Web servers named fred.yourcompany.com and
barney.yourcompany.com, with aliases of www1.yourcompany.com and
www2.yourcompany.com, respectively. You don’t ever want your users to see the
primary host names (A records) for these servers in their browser; rather, you only
want them to see their assigned aliases (CNAME records) when being redirected.
Therefore, your DNS entries would look like the following:
To ensure that your site lookups and translations occur as intended, you must provide
correct entries in your DNS records, as shown above. Also, if you want to enable round-
robin DNS functionality, your round-robin entries must be done in the manner shown
above. On the Windows platform, you make these DNS entries using the Domain
Name Service Manager utility. On UNIX platforms, you make these DNS entries in the
name.db file, which is read by the DNS server’s Berkeley Internet Name Daemon
(BIND). See “Configuring ClusterCATS offline maintenance support (NT only)” on
page 173 for detailed procedures.
For additional detailed information about DNS and all of its components and how they
work together, you can check out the following resources:
•
Suhy, Scott and Glenn Wood. “DNS and Microsoft Windows NT 4.0: A White
Paper.” Redmond, WA: Microsoft Corporation, 1996. Available on the Microsoft
Web site at: http://www.microsoft.com/ntserver/nts/technicaldetails.
•
Albitz, Paul and Cricket Liu. “DNS and BIND.” Sebastopol, CA: O’Reilly and
Associates, Inc., 1992. ISBN #: 1-56592-010-4. Available at your local computer
book store.
; Addresses for canonical names
fred.yourcompany.com
IN A
192.168.0.1
barney.yourcompany.com
IN A
192.168.0.2
; Aliases
www1.yourcompany.com
IN CNAME
fred.yourcompany.com
www2.yourcompany.com
IN CNAME
barney.yourcompany.com
; Round Robin
www.yourcompany.com
192.168.0.1
192.168.0.2
www1.yourcompany.com
IN A
192.168.0.1
www2.yourcompany.com
IN A
192.168.01.2
Summary of Contents for COLDFUSION 4.5-ADMINISTRING COLDFUSION...
Page 1: ...Allaire Corporation Administering ColdFusion Server ColdFusion 4 5...
Page 10: ...x Administering ColdFusion Server...
Page 22: ...xxii AdministeringColdFusionServer...
Page 48: ...26 Administering ColdFusion Server...
Page 58: ...36 Administering ColdFusion Server...
Page 60: ...38 Administering ColdFusion Server Using ColdFusion in a Distributed Configuration 68...
Page 98: ...76 Administering ColdFusion Server...
Page 150: ...128 Administering ColdFusion Server...
Page 198: ...176 Administering ColdFusion Server...
Page 205: ...Chapter 6 Creating Scalable and Highly Available Web Sites 183 3 Click the DNS tab...