Young Grasshoppa, Another way to do this is to add daveiscool.com as a "real" site, then create three resource records that all point services to the ip/name for daveiscool.com. All web inquiries, mail, ftp, etc., will be redirected to the main site. examples: Main site: daveiscool.com. IN A 167.90.54.100 IN MX 5 mail.daveiscool.com. www IN A 167.90.54.100 ftp IN A 167.90.54.100 mail IN A 167.90.54.100 First Virtual: daveissleepingonthejob.com. IN A 167.90.54.100 IN MX 5 mail.daveiscool.com. www IN A 167.90.54.100 ftp IN A 167.90.54.100 mail IN A 167.90.54.100 Second virtual: davesraq.com. IN A 167.90.54.100 IN MX 5 mail.daveiscool.com. www IN A 167.90.54.100 ftp IN A 167.90.54.100 mail IN A 167.90.54.100 There it is, the power of DNS-Fu ;^) Brandon Wheaton UNIX Operations Engineer ValiCert, Inc. 1215 Terra Bella Ave. Mountain View, CA 94043 650.567.5430 ---- Computers are useless; they can only provide answers. ~Pablo Picasso -----Original Message----- From: Paul Schreiber [mailto:cheesefactory@xxxxxxxxx] Sent: Wednesday, April 05, 2000 1:27 PM To: cobalt-users@xxxxxxxxxxxxxxx Subject: Re: [cobalt-users] Re: multiple domains pointing to a single site. --- Dave Rowlands <dave@xxxxxxxxxxxxxxx> wrote: > I've got 3 domains redirecting to the same IP, and they are supposed to go > to the sam site on my RaQ3. The only problem is that the RaQ creates a > different directory for each address - so the names end up going to > different places. The only way I can think of changing this is by > altering the .htconfig files - which I don't want to do. > Is this the only way, or have I just got it seup wrong? Two ways: [1] create three virtual sites, 1 daveiscool.com <-- the "real" site 2 daveissleepingonthejob.com 3 davesraq.com in the directory for sites 2 and 3 (/home/sites/siteXXX/web/), place a file called ".htaccess". In the file, put one line: Redirect / http://daveiscool.com/ [2] create one virtual site. edit the /etc/httpd/conf/httpd.conf file. see where it says: <VirtualHost XXX.XXX.XX.XX> ... ServerName www.daveiscool.com ServerAlias daveis.cool.com ## ADD NEW LINES HERE ServerAlias daveissleepingonthejob.com ServerAlias www.daveissleepingonthejob.com ServerAlias davesraq.com ServerAlias www.davesraq.com ## END NEW LINES ... </VirtualHost> then restart apache (/etc/rc.d/init.d/httpd.init restart). Paul __________________________________________________ Do You Yahoo!? Talk to your friends online with Yahoo! Messenger. http://im.yahoo.com _______________________________________________ cobalt-users mailing list cobalt-users@xxxxxxxxxxxxxxx To Subscribe or Unsubscribe, please go to: http://list.cobalt.com/mailman/listinfo/cobalt-users
Attachment:
smime.p7s
Description: S/MIME cryptographic signature