[Zope] Domain Name HOW TO
Hannu Krosing
hannu@trust.ee
Thu, 10 Jun 1999 14:01:14 +0300
Robert O'Connor wrote:
>
> A slightly off ZOPE topic and BASIC
> but anyway: Basic URL def:
ACtually it has nothing to do with Zope ...
> protocol://subdomain.second-level-domain.
> top-level-domain:port/directory/filename
>
> So you get and register a second-level
> -domain name such as "mysite" with
> a top-level-domain such as "org".
> Good!
>
> Now say you want to set up multiple
> subdomains, for example:
>
> - tarzan.mysite.org
> - jane.mysite.org
you just register names tarzan and jane in the
DNS server for mysite org. they can point to anything.
like:
make zope point to www.zope.org,
so that you can access zope.org as zope.mysite.org (it may
interfere with named virtual host setup, which is broken
in current Zope anyway :) (ie. the base url gets constructed
with numeric IP address)
make warez point to 127.0.0.1,
so that warez.mysite.org points to each users own computer
> Can these subdomains be in totally different
> locations hosted by different hosts?
yes
>
> Say I have a primary site
>
> - mysite.org hosted by HOST1
>
> Can I use HOST2 in another location
> to host:
> - tarzan.mysite.org and
> - jane.mysite.org ?
yes DNS is juat a name to IP address mapping,
where the address can point anywhere
> Does HOST1 have to do something
> to re-route to subdomain HOST2?
absolutely nothing
> What about e-mail? Can
> I get email at HOST1 in the form
> - bob@mysite.org
> and also different email at HOST2
> - bob@tarzan.mysite.org
yes, although this is a somewhat different matter,
involving DNS MX records which can be separate from real
IP addresses
----------------------
Hannu