How do I Map My Domain to the Root of My Zope or PloneSite?
If you are using Zope then you can use the Virtual Host Monster (VHM) that came pre-installed. Read on for how to use your VHM.
Login to the Root of your Zope
First, you need to login to the root of your Zope instance. This is something you really need to know how to do at any time. You should bookmark this address in your browser.
Don't Know the Address?
If you're unsure of the address to the root of your Zope instance, then try the following:
Use your hostname. Login via SSH and type:
hostname
Now put that into your browser's address bar with a /manage at the end.
Find Your VHM
Now that you are logged into the root of your Zope, you will find an object called 'VHM'. Click on this and then click on the Edit tab.
If you don't have an Edit tab, then try a different browser. If it still does not work with a different browser, then email support and describe the problem.
The VHM's Edit Tab
Under the Edit tab you will see two columns, Domain and Path. Towards the bottom of the page, above the Update Mappings button you will see two blank text fields, one in the Domain column and one in the Path column.
Mapping Your Domain: The Short Version
Let's say you want to map your domain example.com, plus its subdomain www.example.com to your plone site, which is at /plonesites/clients/01.
In the Domain field you would enter:
*.example.com
and in the path field you would enter:
/plonesites/clients/01
Now click the Update Mappings button and you should receive a confirmation message.
Infinite Subdomains with Wildcard DNS
Since we use wildcard DNS you can map any number of domains and their subdomains to any number of same or different paths in Zope.
Deleting a Mapping
You can delete a mapping by emptying its Path filed and clicking the Update Mappings button.
Troubleshooting
If your mapping does not work, then delete it and try again, making sure that there are no space in either of the text fields.
If it still does not work then make sure example.com and *.example.com (where example.com is your domain) are in your ~/apache.conf (visible via SSH).
If that does not resolve the situation then check DNS. Make sure you are using the High Speed Rails nameservers for your domain and have asked us to pick up DNS on your domain.
Questions?
Please contact us with your questions and we will get back to you right away.
