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

RE: [cobalt-users] Re: multiple domains pointing to a single site . -



I keep things trimmed to the what I am responding to. 
That way, someone not having the benefit of seeing 
the first message only has to scroll down.

In regards to your advice on apache, I say BZZT! 
Try again. I have done domain redirection via DNS
alone many times without ever having to touch Apache.

Try hitting qubic.net, cubic.net and qbic.net to see 
it in action. Any of the three will land you on 
qubic.net. All mail traffic goes to qubic.net and 
when you ftp to cubic.net, guess where you end up... 
ftp.qubic.net

----
NameVirtualHost 166.90.54.224
<VirtualHost 166.90.54.224>
ServerName www.qubic.net
ServerAdmin admin
DocumentRoot /home/sites/home/web
RewriteEngine on
RewriteCond %{HTTP_HOST}                !^166.90.54.224(:80)?$
RewriteCond %{HTTP_HOST}                !^www.qubic.net(:80)?$
RewriteRule ^/(.*)                      http://www.qubic.net/$1 [L,R]
RewriteOptions inherit
AliasMatch ^/~([^/]+)(/(.*))? /home/sites/home/users/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /home/sites/home/users/$1/web/$3
</VirtualHost>
----
No modifications there.....

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

hey brandon, trim the original when replying, eh?

my instructions presumed he already had DNS set up. 

Even with DNS set up, apache needs to be configured to recognize the
various
Host: headers that your browser sends.

otherwise you get the default site on that IP.

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