Keep Frontend and Backend on different domains

Topics: Customizing Orchard
Mar 20, 2013 at 1:22 PM
I need to have the admin section on mysiteadmin.com
and the frontend site on mysite.com

They shouldn't cross. So that no admin on mysite,com and vice verse.

How do I do it in the right Orchard way?
Coordinator
Mar 21, 2013 at 12:45 AM
Do you have a SSL certificate for the admin section?
Mar 21, 2013 at 8:59 AM
I don't have. But that can be arranged.

Maybe its possible to inject a filter on all controllers that would just check the presence of "/admin" in the route and if it matches the admin domain "mysiteadmin.com"?
Coordinator
Mar 23, 2013 at 8:29 AM
If you have a certificate (and you should), you can add the latest source for the Contrib.SecureSocketLayer module and configure it to use SSL and a different host name for the admin.