[Zope] Setting up a new site in Zope
sam gendler
sgendler@akamai.com
Tue, 27 Mar 2001 08:55:12 -0800
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