This project is read-only.

Domain Url Routing In Orchard CMS

Topics: Troubleshooting
Nov 5, 2014 at 12:44 PM
Hi all..

I am new with orchard cms.
In orchard route mapping for custom module implemented in Route.cs file right,

Now i wanted map domain url mapping in route.cs file how do i implement?

for example
I have domain name like __http://abc.com__ and i wanted to map this url in route.cs file
with specific custom module controller. Is it possible in Orchard cms.
  1. http://localhost/sitename --call the default home page
  2. --call the different page(mapped with route)site is hosted with in local iis.
please share the solution.
thanks in advance.
Dec 10, 2014 at 5:22 AM
I don't think ASP.NET MVC will let you do that this way, but you should be able to get creative with IIS Url Rewrites, redirecting the domain to a different page on the site.