How can I route to Error Page from sub-domain outside of Orchard?

Topics: General
Aug 19, 2012 at 4:54 PM
Edited Aug 19, 2012 at 5:00 PM

I set up a sub-domain from my Orchard site ( Using 1.4.

In that sub-domain I set up a simple ErrorsController, but then realized why not just use the new ErrorPage.cshtml and NotFound.cshtml files.

So in that ErrorsController I did a return Redirect(""); which worked.

Now I am trying to find out how I can redirect to ErrorPage (the one that shows something like "Oops, something went wrong" when an exception is thrown).

Any thoughts? Or is this just not possible like with NotFound.cshtml? 

The reason I want to do this is to utilize the theme and widgets I apply to the NotFound/Error pages without having to port the HTML into my subdomain.