Multisite

Multiple websites in one Umbraco Instance

You always create a website as if there are going to be others. It means the first level of content nodes in root are the different websites hosted (Except if you are Scaffolding)

  • Allows Content Managers to create and administer staging and live environments for their webpages
  • Allows Reuse of code for sister sites

Umbraco, out-of-the-box, allows creation of different domains for different websites.

Settings

Website node is the perfect place to store Settings for the website

Due to the positioning of the Website node in the tree hierarchy, it means any request for a local webpage will always have a Website node as a direct ancestor, this allows for quick retrieval of setting information.

As for what should be Settings, here's a few ideas

  • Header information
  • Main Menu
  • Overaching Colours and Themes of the Website
  • Footer Information
  • Contact Information
  • Api Keys
  • Analytics scripts

A website node is always unreachable via the frontend, and does not have an UrlĀ 

Staging

Content Staging

While it is very true for development reasons there will be seperate Umbraco instances for testing and staging code, as well as user sign off for example, this doesn't mean that the same holds true for Content. A common pitfall is creating a seperate Umbraco instance for Content Editors to test and evaluate content and then 'solutions' are created to move this content between environments.

All this unnecessary work doesn't need to happen, instead just create a staging website inside the same Umbraco instance as live. Restrict access to this domain as required and volia, Content Editors can create and stage content as they please and when they need to 'push' it live they can use out-of-the-box copy functionality that has always existed within Umbraco to copy nodes, properties or relevant data between staging and live.


  • Use out-of-the-box Umbraco Copy functionailty to move content from staging to live
  • Let Content Editors create, test and evaluate content away from live