November Happy Hour will be moved to Thursday December 5th.

How to get epi site to respond from domain/path instead of domain/subdomain

Vote:
 

Hello,

Is it possible to get episerver 7.5 project to respond from path (e.g. http://mysite.com/demo) instead of domain root (http://mysite.com) or subdomain (http://demo.mysite.com)?

Target scenario is something like this:

0. request to url http://mysite.com will go to reverse proxy (or load balancer)

1. request to url http://mysite.com/demo/* should be redirected to epi site 

2. other request (e.g. http://mysite.com/foobar) should be server from another site (e.g. http://anothersite.com) by reverse proxy

What is the preferred way to achieve this kind of functionality? Should I write IIS url rewriter rules or write

an implementation of *UrlRewriteProvider or is there some other way?

Thank you in advance

#88728
Jul 28, 2014 15:05
Vote:
 

It should be possible if you configure IIS so the "site" corresponding to http://mysite.com/demo is created as an IIS Application named "demo" under a site that responds to "http://mysite.com". Then in admin mode the site shoud have SiteUrl http://mysite.com/demo

#88747
Jul 29, 2014 8:22
Vote:
 

Thank you for your response Johan. I did get the site up and running with IIS Application.

#88762
Jul 29, 2014 13:27
Vote:
 

Hi ,

I am also trying to do exactly the same but i have license for my domain for exaample testcms.test.com and when i am changing the url a different domain application like www.test.com/cms from website its not taking it as a valid licence.

Do i have to buy a new license ? for moving it to application instead of a website ? experts please suggest 

also for the css and image path which is going to root did you made any changes ?

thanks,

Manoj

#177930
Apr 24, 2017 16:32
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.