[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] multi URL homes
- Subject: RE: [cobalt-users] multi URL homes
- From: "Brian Dowding" <brian@xxxxxxxxxx>
- Date: Tue Mar 25 08:19:00 2003
- Organization: Equestrian Websites
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
> > Howdy folks,
> > this is a situation I know I need to deal with shortly and was just
> wondering if anyone else has come across this and
> > has a solution.
> >
> > I have a virtual server for a domain, for example
> >
> > www.blah.com
> >
> > and the client wants two more domain names to point to the
> same pages
> (dont ask why.... beats me, in reality they want
> > about 4 domains pointing to the one)
> >
> > www.blah.org.uk
> > www.blah.co.uk
> >
> > I dont think this is something to sort in the GUI, on previous web
> > Apache
> boxes I've run I just bung a new Virtual
> > server directive in with the same doc root and log files within that
> directive. However, I know Cobalts are just a bit
> > more complicated than this. For instance, the links in /home/sites/
> > and
> the clever Mod Rewrite stuff in the httpd.conf.
> >
> > Do I just replicate (subtly altering) the existing Virt
> directive for
> > each
> of the new domains, and also create links
> > accordingly in /home/sites?
> >
> > This is on an XTR.
> >
> > thanks for comments
> >
> > Steve Nisbet
> >
> > _____________________________________
>
> Use the aliases in the GUI, it's the easiest method. However,
> haven't been able to find out how to keep it from rolling
> over to the default virtual domain name. In other words, when
> a person types in one of the aliases, the browser
> automatically switches it to the main domain name.
>
> Rich
> EBS
>
> _____________________________________
Hi
If it is vitally important to have alias in the address box you can always
set up the alias as a sub-domain
(http://www.raqware.com/how2.html#sub-domains) with the DocumentRoot as the
DocumentRoot of the main domain.
Bye the way on the XTR to reload httpd you need to use
"/etc/rc.d/init.d/httpd restart" (not reload)
Best regards
Brian Dowding
[mailto:webmaster@xxxxxxxxxxxxxxxxxxxxxx]