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

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



There is a "ServerAlias" directive in apache that you can use.

Just setup your dns to point to the correct ip address and add in the
<VirtualHost x.x.x.x>
DocumentRoot /the/site/location
ServerName www.thesite.com
ServerAlias www.thesite2.com
.....
</VirtualHost>

More information about the directive can be found at http://www.apache.org

Kevin

At 08:00 PM 4/5/00 -0700, you wrote:
No, only that domain. I think I misunderstood you before. If
you are vhosting *separate* sites off the same IP then you
are absolutely correct. I was referring to simple redirections.

Sorry about any confusion, but the way I read the original
e-mail, it sounded as if he only wanted redirection rather
than 3 separate sites running off of the same IP. Is that
correct?

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 6:25 PM
To: cobalt-users@xxxxxxxxxxxxxxx
Subject: RE: [cobalt-users] Re: multiple domains pointing to a single
site . -


--- Brandon Wheaton <brandonw@xxxxxxxxxxxx> wrote:
> 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

In your case, http://166.90.54.224/ also goes to the site. Are you
running
other domains 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