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

re : [cobalt-users] Newbie - Virtual Sites



>>Does anyone have any ideas how I can access a site on the new server
>>(using a browser) before the domain is transferred.

I've found 3 ways of doing this on a RAQ3 (I assume that they can be made
to  work on RAQ4) :-

(1) using aliasmatch in httpd.conf  (as detailed by Rocky Hetherington
yesterday).

(2) create sym links from an existing site (eg the home site) to the new
site
(so for exampe www.myraq.com/mynewsite to get at www.mynewsite.com).

(3) create your new site using the domain of a site that is already
registered but with a hostname other than www.  So for instance if you
already have www.myraq.com then create a new virtual site eg
http://newsite.myraq.com.

I found option 3 the simplest and option 2 the quickest.

Option 2 in brief

su root
cd /home/sites/home/web on my raq3  (poss different on a RAQ4)
ln -s ../../www.mynewsite.com mynewsite (again path may be different on
RAQ4s)

Now try and access www.myraq.com/mynewsite. If you get not authorised errors
you may have to dive into access.conf and/or httpd.conf and check whether
FollowSymLinks is enabled.

Option 3 In brief

Assuming you have a site already up and running (say www.myraq.com) then add
a new site newsite.myraq.com.  I seem to recall that web access and email
access had to be unchecked. Amend your dns record for myraq.com and upload
your html and thats that.

HTH.