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

Re: [cobalt-users] "Promoting" a virtual site to be the primary site on the RAQ?



Paul Ferwerda wrote:

> I've got a RAQ3 that originally had a primary site (www.sitea.com) and a virtual site (www.siteb.com).  We moved www.sitea.com to another server leaving www.siteb.com on the first server.  On the RAQ3 we changed the ip address of www.sitea.com to the ip address of www.siteb.com. Currently people can connect to www.siteb.com without any problems.

First of all, will you please fix your email client to chop lines at
about 70 or so; otherwise quotes look pretty ugly (see above).  If you
can't figure out how to do it would you please consider either finding
out or changing email clinets?  Thanks <smile>.

> Is there a way to "promote" www.siteb.com to be the primary site on
> the box?  Currently a hostname done on the box returns www.sitea.com
> even though the box is using the ip address of siteb.  This means that
> sendmail reports the node name incorrectly as well.

We NEVER put a web-site on the "primary" site on the RaQ.  That's the
site that many root "scripts" know how to deface, whereas they
often/usually leave virtual sites alone.

To fix your hostname that sendmail, etc., reports, if it's important to
you (it's not important to much of the world; if it was, virtual hosting
wouldn't be acceptable) simply change the hostname and domain name for
the primary site from www.sitea.com to xxx.siteb.com, where xxx can be
anything; your name, your kid's name, your best friend's name, your
worst enemy's name, etc.  For example, on the RaQ that's I'm using to
post this reply to the list, our hostname is set to "joshua" and the
domainname is set to nobaloney.net.

Don't forget to install both reverse DNS for the main IP#, pointing to
xxx.siteb.com, and regular DNS pointing xxx.siteb.com to the IP#.

Jeff
-- 
Jeff Lasman <jblists@xxxxxxxxxxxxx>
Linux and Cobalt/Sun/RaQ Consulting
nobaloney.net
P. O. Box 52672, Riverside, CA  92517
voice: (909) 778-9980  *  fax: (702) 548-9484