SaaS CMS has officially launched! Learn more now.

Adding multiple websites with different start page


Wish to create multiple websites but with diffeent start page.

Eg: I have a website with "" and contains a page called entreprenad.

Now I wish to create awebsite called "" and not

The "entreprenad" page is not of startpage type. 

Feb 18, 2019 10:26

You add multiple website in the admin -> manage websites. You can set domains, subdomains and point to different start pages.

Feb 18, 2019 11:49

This is described in the web help here: 

Worth noting that if you are in a licence set up then there are additional charges for additional site(s) - contact your local Episerver office to discuss. If you are running Episerver Digital Experience Cloud Service then you can have unlimited sites.

Feb 18, 2019 12:55

All the above is correct, but also please be aware that you cannot make a subpage of an existing site the root of a new site.

I.e. with the following setup:


-> Page 1

-> Page 2

      |-> Subpage

'Subpage' cannot be made the root of a new site.

Feb 19, 2019 1:51

Thankyou all for the important information , its one thing which I am strugling is 

my startpage for the 2nd website is actualy not of type startpage. It is of custom type.

So , it wont be able to execute 

public virtual LayoutModel CreateLayoutModel(ContentReference currentContentLink, RequestContext requestContext)

var startPage = _contentLoader.Get<StartPage>(ContentReference.StartPage);


as above line needs the page to be of <StartPage> type. And I cant have if else here becoz starpage valur is being used till the function ends.

So , is it mandatory to have the first or homepage of the second website as <StartPage> type.

Feb 19, 2019 10:44

No the StartPage type is just something that was created on the Demo site. The content type of the homepage can be any PageData base type you want. A common practice might be to put all the common StartPage properties you want to share in a parent class and inherit that class for both of your start page types. Then you can load this shared type.

Or can you adjust your logic to just load the home page as PageData and check/cast in to whichever type is appropriate.

Edited, Feb 19, 2019 11:05
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.