[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Hosts file on a Mac
- Subject: Re: [cobalt-users] Hosts file on a Mac
- From: Gerald Waugh <gwaugh@xxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon May 13 23:29:45 2002
- Organization: Front Street Networks LLC
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
On Saturday 11 May 2002 10:35 am, Phil Beynon wrote:
> Hi,
> Does the Mac have an equivalent of the Windows hosts file please, I'm
> utterly illiterate on them and I need to have a customer see a site on the
> Raq prior to it going live via DNS etc.
>
Show New Sites: (from cobalt-users-list)
Insert this line in /etc/conf/httpd/httpd.conf (main site)
AliasMatch ^/newsite/([^/]+)(/(.*))? /home/sites/$1/web/$3
Then reload apache - [/etc/rc.d/init.d/httpd reload] after that, you can
access it with:
www.originaldomain.com/newsite/www.newdomain.com
OR add the site to your /etc/hosts file (Linux) /windows/hosts file (Windows).
--
Gerald Waugh
http://www.frontstreetnetworks.com :: Phone. [011] 203.785.0699
Front Street Networks LLC | SOHO Networks & Web Site Hosting
229 Front Street, Ste. #C, New Haven, CT, 06513-3203 United States