[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] View sites before propogation
- Subject: Re: [cobalt-users] View sites before propogation
- From: Thom LaCosta <baltimoremd@xxxxxxxxxxxxxxx>
- Date: Tue Aug 5 05:33:04 2003
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
On Tue, 5 Aug 2003, Andy Jacobs wrote:
>
> I want to set my server up so that I can do
> www.doman.com/sites/www.newdomain.com to see sites that I'm working on
> before propogation. I remember having to put a line in my httpd.conf file
> to make this work but I don't have the necessary line, or the details in
> where it should go.
Viewing a Site Before Propagation
User Method
edit \windows\hosts file
add
ip address tab www.domainname.com
Via Main Site
1. Backup your httpd.conf file.
2. In your main site's block in the httpd.conf file, add this line:
AliasMatch ^/sites/([^/]+)(/(.*))? /home/sites/$1/web/$3
3. Save the file and exit.
4. Restart the httpd server.
/etc/rc.d/init.d/httpd stop
/etc/rc.d/init.d/httpd restart
5. Go to www.yourmainsite.com/sites/www.any-site-on-the-server.com in
your browser
6. References to graphics in the customer pages need to be in the form of
<html>
<body>
<p><center><font size=5 color="red"><b>Test of Site Before DNS
Propagation</b></center>
<font color="black">
<p>
<img src="siteimage/topbar.gif"><b>Test</B> path is siteimage/topbar.gif
<p>
</body>
</html
thom
--
baltimoremd@xxxxxxxxxxxxxxx Thom LaCosta K3HRN
http://www.cobaltfacts.com/ Cobalt Users Supporting Cobalts
CobaltFacts - The Other Blue List
Sun won't do it, we need to do our own wash
CobaltFacts Web Ring www.baltimoremd.com/cobaltfacts/