[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re[2]: [cobalt-users] Viewing a site before propagation [was: (no subject)]
- Subject: Re[2]: [cobalt-users] Viewing a site before propagation [was: (no subject)]
- From: Richard Kurth <rkurth@xxxxxxxxxxxx>
- Date: Sat Sep 8 15:52:22 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
Hello Jeff,
Saturday, September 08, 2001, 5:32:19 PM, you wrote:
Jeff Lasman> Steve Werby wrote:
>> One solution on Windows machines is to set the host-ip info explicitly in
>> the hosts file on the client machine. Other solutions involving rewrite
>> rules to access the site through a directory of the main site have been
>> posted as well. Search the archives for combos words like: dns propagation,
>> access, hosts, etc.
Jeff Lasman> Easiest way on a RaQ4 appears to be to set the html alias to
Jeff Lasman> "newdomain.yourdomain.com" and to put an entry for
Jeff Lasman> newdomain.yourdomain.com into DNS. You can either leave it in, or take
Jeff Lasman> it out once DNS propogates.
Jeff Lasman> This, like most other solutions, won't work for any hardcoded links
Jeff Lasman> inside your site that go to your entire url, i.e., <a
Jeff Lasman> href="http://www.yoursite.com/something>. Instead you should use
Jeff Lasman> something like <a href="/something">.
Jeff Lasman> Jeff
The easiest way to do this on RaQ3 or RaQ4 is
Insert this line in your httpd.conf (mainsite)
AliasMatch ^/newsite/([^/]+)(/(.*))? /home/sites/$1/web/$3
Then restart Apache - after that, you can access it with:
www.originaldomain.com/newsite/www.newdomain.com
Then it is done automatically when ever you set up a new named based
site
--
Best regards,
Richard
mailto:rkurth@xxxxxxxxxxxx