Hi Everybody!I would like to know if it's possible to have multiple domains redirected to different pages in episerver without affecting the url. Is it builtin-functionality or do I have to write an Url-rewriter?
For example: A customer has three sites:www.site.sewww.site.fiwww.site.dkwhich I would like to redirect to three diffrent "startpages" in the pagestrucure. So if a user types http://www.site.fi, he will be redirected to the page "/SiteFi", but still will see http://www.site.fi in the browser./Root /SiteSe /SiteFi /SiteDk
Will it then be a problem if for example /SiteSe and /SiteFi has a subpage named "Press"?, so that www.site.se/Press and www.site.fi/Press will be redirected to the respective Press-page?
Every sites also has multiple languages, so www.site.fi/en/, should show the finnish site in english, but that wouldn't be a problem I believe?
This is Enterprise functionality.
Anders' option is valid, although you would still see the "real URL" in the browser's address bar.
You could implement custom URL rewriting, but that might be a bit too much buck for the bang! ;)
Have someone found any best option to achieve this . I'm also looking to achieve the similar things e.g . I'v a separate main site
And then I will have say 3 more enterprise sites , enterpsie sites requires you to have unique domains
But I want to access these sites so to end users it looks like the part of the main site such as
I can't see to ahieve this through episerver url rewrite .Can anyone suggest best solution to achieve this within episerver solution?
not sure it's what you are looking for, but you can add entries in the <sitehostMapping> tag in EpiserverFramework.config:
<siteHostMapping> <siteHosts siteId="[YOUR SITE ID]"> <add name="*" /> <add name="site1.local" language="en" /> <add name="site2.local" language="sv" /> </siteHosts> </siteHostMapping>
But I'm looking to use same domain as( local/site1 and local/site2) . Assuming local is the main site in my enterprise environment . I've couple of solutions that are outside the EPiServer but I'm looking for if someone has already achieved this . Also my scenario is around episerver enterprise (which may or may not be multi lingual)
I have done something like this. It can all be done by making your own FriendlyUrlRewriter.