The instructions on the page
Setting Up a Multi-tenant Orchard Site
Are as follows:
"The Add New Tenant screen asks for the name of the tenant (which should not contain any spaces, by the way), and the host domain that will map to the tenant. If you are running locally and don't have a domain to map, you can edit your \Windows\System32\drivers\etc\hosts file to create a sample host. Alternatively, you can use *.127-0-0-1.org.uk, where * is the name of your tenant or another name of your choosing. This will loop back to localhost and is sufficient for testing multi-tenancy locally."
I’m afraid I’m having trouble with either of the mentioned options. To me this statement is quite vague and could do with a concrete example.
For a new tenant ‘mydemo’ I want to add to:
I have added this line to my hosts file:
and I have configured the new tenant:
But all I get is HTTP 400 Bad Request
I installed Orchard 1.0.2 from WPI and running from WebMatrix on Windows 7, running IE9 beta. I’m using Compact DB for default tenant and the new tenant...
Email reply from Bertrand Le Roy advised:
"Can you try to restart your web server after creating the tenant? We found that this could make it work."
Unfortunately, neither restarting the site nor the machine fixes this for me.