[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] MULTIPLE SITES
- Subject: Re: [cobalt-users] MULTIPLE SITES
- From: "reema" <reema@xxxxxxxxx>
- Date: Mon Jul 24 17:42:10 2000
I have editied the httpd.conf file and added the line:
ServerAlias website.com www.website.co.uk
I have restarted the web server and no luck.
Do I need to create a new site on the RAQ for www.website.co.uk?
(apologies for sounding dumb!)
Make a backup of /etc/httpd/conf/httpd.conf !!!
Add those extra sites to your DNS on the same IP as the main site
(www.website.com). In /etc/httpd/conf/httpd.conf find the virtual container
for www.website.com. Easiest way is to do "cat /etc/httpd/conf/httpd.conf |
grep -n www.website.com". Make note of the line # (first piece of data on
each line) and then do "pico -w +linenumberhere /etc/httpd/conf/httpd.conf",
find the line beginning "ServerAlias" and below it add "ServerAlias
www.website.co.uk www.website.net".
Then restart httpd. On the RaQ3 you do: "etc/rc.d/init.d/httpd restart".
If it chokes copy the backed-up file to the original location and then
restart httpd. The GUI may overwrite changes to this conf file so keep that
in mind. It's never done it to me, but I don't use the GUI much.
Steven Werby {steven-lists@xxxxxxxxxxxx}