Multi-site with one URL

Vote:
 

Our project is currently running multiple sites. e.g: www.mysite.com <- is the main site, and has other websites namely webshop1.mysite.com, webshop2.mysite.com are subdomains of mysite.com. When we add/create another site with different hostname e.g. webshop3.mysite.com, we'll have to request and add the records for this, both Optimizely and in our DNS. This is the usual way of how we setup the sites.

Now, what we want and hoping to achieve is to remove the adding of additional hostnames. So instead of having webshop1.mysite.com, webshop2.mysite.com, webshop3.mysite.com, We should only have www.mysite.com/webshop1, www.mysite.com/webshop2, www.mysite.com/webshop3 . Can anyone direct us on implementing and how to achieve this approach? Or if Optimizely has available endpoints for this? And what are the things that we need to look out for.

#302546
May 29, 2023 9:51
Vote:
 

I think that's just as case of development. You'd just create suitable sub home pages in the CMS and then add the main webshop 1-3 sub pages under the www.mysite.com root node that's routed to your website. The main homepage would then need to be a global homepage to route you to the sub sites or have some sort of logic (say if they are geolocation bound) to route you to the correct one, then in your code you'll just write code to identify your subsite as the homepage or root for navigation and such. There's no native mechanisms and if they are all under the same domain they are really just sub pages.

#302632
Edited, May 30, 2023 7:45
* 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.