[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] Viewing websites before domains resolve.
- Subject: RE: [cobalt-users] Viewing websites before domains resolve.
- From: "Jim Carey" <ozbcoz@xxxxxxxxxxxxxxxx>
- Date: Thu Sep 13 20:52:11 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
>
> Hi,
>
> Say my main IP is: xxx.xxx.xxx.xxx and I set a site up www.domain.com.
> Is there any way of getting http://xxx.xxx.xxx.xxx/sites/domain.com/
> Or similar so you can preview the site before your domain resolves?
>
> Thanks in advance.
>
> Kai.
if you place a line like this in httpd.conf in one of your sites (say
www.mydomain.com):
AliasMatch ^/usersites/([^/]+)(/(.*))? /home/sites/$1/web/$3
then you can see the new site (www.newdomain.com) by going to:
www.mydomain.com/usersites/www.newdomain.com
cheers
Jim Carey
www.OZbcoz.com discount domain registration
www.iluvoz.com affordable hosting services