[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] two questions from a new user
- Subject: Re: [cobalt-users] two questions from a new user
- From: Paul Schreiber <cheesefactory@xxxxxxxxx>
- Date: Mon Mar 13 14:09:30 2000
--- Rob Lambert <rwl@xxxxxxx> wrote:
> 1) how to preview the sites before we point the
> domain to it (we are
> moving lots of sites) and
> 2) how to point multiple domains to the same web
> folder
The easiest way to do this is to edit the http.conf
file.
Say you have foobar.com, and want robiscool.com to
point at the same site.
in the httpd.conf[1] file, you will see:
<VirtualHost XX.XXX.XX.XX>
ServerName www.foobar.com
ServerAlias foobar.com
MoreConfigJunk
</VirtualHost>
under the ServerAlias line, put:
ServerAlias www.robiscool.com
ServerAlias robiscool.com
and then restart apache[2].
Paul
[1] /etc/httpd/httpd.conf
[2] /etc/rc.d/init.d/httpd.init restart
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com