[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] Raq3i - Parking 8 domains and pointing to one site



Hi everyone!

I should know this and I know it works on other servers I've worked with in the past but I'm not sure about Raq3's. The messages I've seen here and in archives explain it for one pointing domain but I have 8.

The client has one active site which I want to install named-based (this IP number is shared by dozens of other sites). She also has 8 domains she wants "parked" and pointing to this one site. Right?

Obvious thing is to hack the httpd.config file at /etc/httpd/conf (on my machine anyway) and use a "server alias" line to deal with all this BUT will eight such lines (or 16 if I'm aliasing both the domain and the hostname.domain for each) choke the machine or something?

To wit. If I have the file

<VirtualHost 209.196.44.64>
ServerName www.mainsite.org
ServerAdmin admin
DocumentRoot /home/sites/site6/web
ServerAlias unitednybrc.org
RewriteEngine on

etc. etc. (rest of file)

and I change it to

<VirtualHost 209.196.44.64>
ServerName www.mainsite.org
ServerAdmin admin
DocumentRoot /home/sites/site6/web
ServerAlias secondsite.org
ServerAlias www.secondsite.org
ServerAlias thirdsite.org
ServerAlias www.thirdsite.org
ServerAlias fourthsite.org
ServerAlias www.fourthsite.org
RewriteEngine on

and about 8 more alias lines and the rest of the config file.

Will THAT cause server problems? Is that the best way to configure this alias list? Is there some other way that's safer and more efficient?

Or am I condemned to assigning an IP number (we have an extra one) to this site and using A names to do the redirection work? I'd love to avoid that if I can.

But what I really want to avoid is setting up eight virtuals and then using a header redirection on each to the main site (or a meta page or something). I'd rather rely on the server records to do this work.

Any help would be much appreciated.

Thanks

Alfredo

--
People-Link/Institute for Mass Communications
461 54th Street   Brooklyn NY 11220   718 567-8463
Communications for a Better World...and for the People Who are Building One!
Members, Local 1180, Communications Workers of America, AFL-CIO