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

Re: [cobalt-users] (no subject)



On Wed,  1 Aug 2001 09:47:02 -0400, brain_damaged mumbled something 
like:
>>Server:  ns2.cl.bellsouth.net
>>Address:  205.152.144.188
>>Name:    webuytimeshare.com
>>Address:  208.62.145.46

I take it you've got more than one IP address on the box?
Add weselltimeshare.com and www.weselltimeshare.com to the DNS 
settings. Point both at 208.62.245.46.
Now you just need to tell the RaQ that webuytimeshare.com will also 
be answering for weselltimeshare.com, and you'll do that with a 
Server Alias line in the <virtualHost> entry for weselltimeshare.com 
in /etc/httpd/conf/httpd.conf

Now you'll need to go in on the command line. Login through 
SSH/telnet (hopefully you've disabled telnet and are using SSH) as 
admin, then su to root:
#su -
#(type root's password - if you haven't changed it, it will be the 
same as admin's)

Make a backup copy of the httpd.conf file:
#cp /etc/httpd/conf/httpd.conf /etc/httpd/conf/httpd.conf.bak
Edit the httpd.conf file with pico:
#pico /etc/httpd/conf/httpd.conf
Within Pico, use CTRL-W to find webuytimeshare.com. It will take you 
right to the <virtualHost> entry for the domain. Right under the 
DocumentRoot line, there should be a ServerAlias line that says:
ServerAlias www.webuytimeshare.com
Change this to:
ServerAlias www.webuytimeshare.com www.weselltimeshare.com
You can also put the domains in there without the 'www' if you want.
Save your changes (CTRL-X, Y for yes, <enter>). Then restart httpd.

I'm not sure of the exact syntax for restarting on the RaQ2 but I 
believe it is:
# /etc/rc.d/init.d/httpd.init restart
(On the RaQ4's we don't have 'httpd.init', just 'httpd'.)

Now you should be able to go to www.weselltimeshare.com in your 
browser and have www.webuytimeshare.com come up in the window.

If something goes wrong (a typo, whatever), you can always restore 
the backup copy of httpd.conf:
# cp /etc/httpd/conf/httpd.conf.bak /etc/httpd/conf/httpd.conf
and then restart httpd again.

>>I am a linux/raq newbie by the way. Learning daily , drinking
>>nitely.

ROFL!! Gotta love it. ;)

--
CarrieB
"I do believe that where there is a choice only between cowardice and 
violence, I would advise violence." --Mahatma Ghandi