[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Url for access to virtual site raq4
- Subject: Re: [cobalt-users] Url for access to virtual site raq4
- From: Brian Rahill <cobalt@xxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sat Apr 17 05:27:07 2004
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
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