Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

Site as a subdomain of another

Vote:
 

Is it possible to set up one site on a url of another site? Our case is that we currently have a multi-site solution where one site is adopting the url of another site. We haven't got the time to migrate the content from the old site so in order to still reach the old content I had hoped that I could configure the old site to be a sub domain of the new site, something like:

Site 1: http://site1.com

Site 2: http://site1.com/subsite

..but this doesn't seems to be allowed in EPiServer. 

Thoughts and/or ideas?

#115357
Jan 13, 2015 22:37
Vote:
 

When you say subdomain, I guess you don't mean the concept of "subsite.site1.com"? Otherwise it's a quite common approach to have something like old.site1.com after the launch of your new site if your old site is required to live on for a while.

If you would like to have site1.com/subsite I think you need to change the logic and templates for the old pages to be less dependant on ContentReference.StartPage and instead have another way to pick startpage and actually refer to the page at site1.com/subsite.

#115358
Jan 13, 2015 22:49
Vote:
 

Yeah, sorry, subdomain might not be the correct term here. What I would like is to have site2 have it's startpage as a sub url of site1 because we unfortunatly don't have the time/resources to re-implement the code in site1 at the moment. But from what I understand this isn't possible, or at least not easily done, so I guess a subdomain is the only alternative for now. 

Thanks.

#115369
Jan 14, 2015 9:49
* 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.