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

Re: [cobalt-users] Url for access to virtual site raq4



At 08:13 AM 4/17/2004, you wrote:
i need to know if is possible to see a website hosted on raq4 when the
domain are not active.

Edit /etc/httpd/conf/httpd.conf
Find the first virtual host block (i.e. <VirtualHost XXX.XXX.XXX.XXX>) and put this in there:

# Added to let users preview their site before DNS setup
AliasMatch ^/sites/([^/]+)(/(.*))? /home/sites/$1/web/$3
# END Added to let users preview their site before DNS setup

Then restart httpd.

Now you can see the site by going to:
www.anysiteontheserver.com/sites/www.thesiteyouwanttopreview.com/


Brian