[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] Viewing Site before DNS Change
- Subject: RE: [cobalt-users] Viewing Site before DNS Change
- From: "Jim Carey" <ozbcoz@xxxxxxxxxxxxxxxx>
- Date: Tue Jan 2 21:06:01 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
> If there a way for a customer to view his uploaded site via a browser
> before the DNS records propogate when having several sites share an IP?
>
> I've figured out how to get into his control panel, but not how to
> view his html.
If you add the 3rd line (below) to the httpd.conf entry for one of your
sites (I have included a couple of std lines to demonstrate where it might
go) - say domain.com you will be able to reference
www.domain.com/usersites/www.newdomain.com or even
www.domain.com/usersites/www.newdomain.com/page.html and see the site
make sure you backup http.conf first !
AliasMatch ^/~([^/]+)(/(.*))? /home/sites/site#/users/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /home/sites/site#/users/$1/web/$3
AliasMatch ^/usersites/([^/]+)(/(.*))? /home/sites/$1/web/$3
Jim Carey
www.OZbcoz.com