[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] SubDomain question - How to create one...
- Subject: Re: [cobalt-users] SubDomain question - How to create one...
- From: "David Booth" <dbooth@xxxxxxxxxxxxxxx>
- Date: Tue Feb 4 13:10:01 2003
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
>
> So I can add a new httpd.conf for each subdomain?
>
Not quite. Maybe this will help:
I think I'm fairly close here. This is on my raq550.
su -
cd /etc/httpd/conf/vhosts
ls
Pick one of domain.conf files, say domain1.conf
Make a copy for your new domain:
cp domain1.conf newdomain.conf
Change newdomain.conf to reflect your new domain's properties - do that with
your favourite editor - I use
pico -w newdomain..conf
When thats all done you need to add newdomain.conf to the list at the bottom
of /etc/httpd/conf/httpd.conf - again, pico -w httpd.conf
Copy one of the include lines and change it for newdomain.conf
Then reload the web server:
/etc/rc.d/init.d/httpd reload
Might be safe to wait until someone corrects any goofs I've made.
David Booth
Goulburn Internet
http://www.goulburn.net.au
0500522400