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 ************************
Hello,
in addition to the other pieces of advice, zope binds to port 8080, so if your domain name was working prior to setting up zope, you might need to point to something like my.domain.org:8080. ciao! greg.
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,
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
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 )
participants (4)
-
ghaley@mail.venaca.com -
Gitte Wange -
Phil Harris -
sam gendler