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

Re: [cobalt-users] 2 domains one website



> Zeffie wrote:
>
> > ok I'm going to get shot here but I'll say it anyway... I don't care
about
> > the mail working for the domain so I just make a cname in dns...

Yep!  I thats right.

>
> If each domain has it's own IP#, then this is fine.  Otherwise you'll
> also need a ServerAlias set in /etc/httpd/conf/httpd.conf.
>
> Which of course could get overwritten if you ever use the gui to update
> the site, so you'd better use an include file, which of course...

I never have liked the idea of adding a "include file" to
/etc/httpd/conf/httpd.conf.

Story time :)

    Apache has always allowed you to put that "<VirtualHost>" information is
any of the big three files... srm.conf access.conf and httpd.conf .... for
that matter anything you see in one of these files can be in the other
two... which IMHO is why the newer versions of apache switched to a single
conf file :) (Also most likely why the Cobalt apache updates where slow.)  I
should add that my srm.conf has all kinds of stuff in it that never gets
touched by the gui. :) or updates for that matter :) :) Reguardless I keep a
'txt' document locally with exactly what I added to srm.conf just in case I
need it sometime :)

> In other words, someone should sure read the archives <smile>.

I think this tip is a little better then all those "include posts"

Zeffie