[Zope] Setting up a new site in Zope
Phil Harris
phil.harris@zope.co.uk
Tue, 27 Mar 2001 10:15:30 +0100
The hosts file on Win32 is in different places depending on your exact
version,
W95/W98/WME the file is <windowsfolder>\hosts
NT/W2K the file is <ntfolder>\drivers\etc\hosts
note there is no .txt anymore this was dropped after Windows 3.1.
The file is a simple text file, which by default doesn't exist on W95/98/ME,
you need to copy the hosts.sam file (which is a sample).
The default file should contain an entry for localhost:
127.0.0.1 localhost
you just need to add an entry for your domain/subdomain:
192.168.2.1 dev.mmmanager.org # change the ip accordingly.
this then adds the domain and Netscape should be able to find it OK.
hth
Phil
phil.harris@zope.co.uk
----- Original Message -----
From: "sam gendler" <sgendler@akamai.com>
To: "Gitte Wange" <gitte@mmmanager.org>
Cc: <zope@zope.org>
Sent: Tuesday, March 27, 2001 5:55 PM
Subject: Re: [Zope] Setting up a new site in Zope
> Just stick a dummy entry for the domain in your hosts file. In *nix, it
is
> /etc/hosts (the format should be self explanatory). There is an
equivalent
> file in windows, but I can no longer remember if it is <system dir>/hosts
> or <system dir>/hosts.txt. I am sure someone will chime in. That should
> be enough to confuse your dns on the local machine to get it to work.
Line
> format is as follows:
>
> 127.0.0.1 dev.mmmanager.org dev # now you can use just dev as a
shortcut
>
> You would need this in order to test your code, anyway, since you will
have
> to give the correct hostname to your browser in order to view the site
> correctly.
>
> --sam
>
> Gitte Wange wrote:
>
> > Hello,
> > I have tried to set up a new site (this is a subdomain to my main
> > domain) in Zope, but it fails every time.
> > I create a SiteRoot object.
> > I name it Dev, enters the base as http://dev.mmmanager.org, and the path
> > as /dev
> >
> > But when I save it, netscape says it is unable to loacte the domain (no
> > it has no valid DNS entry but I am only working on an internal network
> > so this shouldn't be a problem).
> > What I would like to kmow is: How do you set up a new site in Zope ?
> >
> > Regards,
> >
> > --
> > ************************
> > Gitte Wange Jensen
> >
> > System Squid Developer
> > MMManager Aps
> > +45 29 72 79 72
> >
> > gitte@mmmanager.org
> > ************************
> >
> > _______________________________________________
> > Zope maillist - Zope@zope.org
> > http://lists.zope.org/mailman/listinfo/zope
> > ** No cross posts or HTML encoding! **
> > (Related lists -
> > http://lists.zope.org/mailman/listinfo/zope-announce
> > http://lists.zope.org/mailman/listinfo/zope-dev )
>
> --
> ---------------------------------------------------------
> The ONLY thing that seems to band all nations together,
> is that their governments are universally bad....
> --unknown
>
>
>
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope-dev )