With Zope and Plone set up, you need to set up Apache or IIS so that the public site and the private site are on separate URL
Apache
If you are using Linux or Mac OS X, you'll probably run Apache 2. In this case, you need to use 'mod_rewrite' and RewriteRules to configure the two URLs. More details can be found in "the Zope and Apache tutorial":/documentation/tutorial/plone-apache.
Presuming your server is running on the IP address 10.10.10.10 and Zope runs on port 8080, the two domain names 'public.mysite.net' and 'admin.mysite.net' can be set up as this::
NameVirtualHost 10.10.10.10:80
ServerName public.mysite.net
RewriteEngine On
RewriteRule ^/(.*) http://localhost:8080/VirtualHostBase/http/public.mysite.net:80/Plone/public_website/VirtualHostRoot/$1 [L,P]
ServerName admin.mysite.net
RewriteEngine On
RewriteRule ^/(.*) http://localhost:8080/VirtualHostBase/http/admin.mysite.net:80/Plone/VirtualHostRoot/$1 [L,P]
Of course, you will also need to configure your DNS server so that 'public.mysite.net' and 'admin.mysite.net' point to your IP address.
IIS on Windows
If you are on Windows, you can configure IIS virtual hosts similarly. The following screenshot illustrates the settings:
"IIS Virtual Host configuration":img:iis_vhost_conf.jpg
Enfold Enterprise Proxy on Windows
Finally, if you use Enfold Enterprise Proxy, this would go in your 'eep.ini'::
[host-admin]
lh_root = /
vh_server = localhost
vh_port = 8080
vh_root = /Plone
vh_protocol = http
host_headers = admin.mysite.net
[host-retail]
lh_root = /
vh_server = localhost
vh_port = 8080
vh_root = /Plone/public_website
vh_protocol = http
host_headers = www.mysite.net