From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,9311b2f006d4e898 X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1995-03-09 09:09:43 PST Path: bga.com!news.sprintlink.net!howland.reston.ans.net!agate!overload.lbl.gov!lll-winken.llnl.gov!usenet From: oberman@icaen.llnl.gov Newsgroups: comp.unix.osf.osf1 Subject: Re: MULTIPLE DOMAINS, ONE WEB SERVER... HOW? Date: Thu, 9 Mar 95 16:56:18 GMT Organization: Lawrence Livermore National Laboratory Message-ID: <3jnbve$m7a@lll-winken.llnl.gov> References: <3jm5ri$cqs@sundog.tiac.net> <3jn077$k8r@mailer.fsu.edu> NNTP-Posting-Host: rogue.llnl.gov In Article <3jn077$k8r@mailer.fsu.edu> deal@xi.cs.fsu.edu (Richard Deal) writes: >David L. Nye (evil@max.tiac.net) wrote: >: I'd like to ask if anyone can tell me how, if it is possible, to do.. > >: http://www.aaaa.com/ \ >: http://www.bbbb.com/ ----- mapped to www.DDDD.net >: http://www.cccc.com/ / > >: All being physically the same DEC Alpha OSF/1 3.x machine. Single Ethernet >: interface. I'm trying to figure out a way to keep costs down by using the >: power of the Alpha to serve web pages to several domains. >This is very simple. Just have CNAME records in DNS for your "aliases" that >point to your "real" host. > >We have a server that provides, gopher, ftp, http, and a few other services >and the server has a name for each type of service: gopher.xxx.com, >ftp.xxx.com, www.xxx.com, etc. Whils a CNAME would work for this, they require an extra lookup each time (this is a recursive lookup internal to the DNS and pretty much invisible to the user, but it does take machine cycles and, depending on the configuration of the zones, network bandwidth) and are processed by BIND very differently form most queries. Whenever possible (and there are some cases when it is not), I strongly recommend use of additional A records. That all said, if you don't control the zones for aaaa.com, bbbb.com, cccc.com, and DDDD.net, you may be in a situation where a CNAME is the only answer. R. Kevin Oberman Energy Sciences Network (ESnet) National Energy Research Supercomputer Center (NERSC) Lawrence Livermore National Laboratory (LLNL) Internet: koberman@llnl.gov +1 510-422-6955