Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,110 of 9,110 pages
About the help in other languages
All help pages

Adding a department site

Step by step for administrators: give a department its own site in an existing Exponential installation, with a content folder, a siteaccess with its root node and design, registration and host matching, DNS and…

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/help/government/building/multisite/adding-a-department-site.md

On this page

Adding a department site

This page is for administrators and site builders. It follows the steps of Setting up several sites in one installation for a department of a public body.

Contents

  1. Content
  2. The siteaccess
  3. Register and match it
  4. Host, DNS and certificate
  5. The administration
  6. Checks

Content

Create a folder for the department under the root, for example "Department of Example", and note its node ID. Assign it to a section for the department if editors of different departments must be kept apart (see "Editors and roles per department").

The siteaccess

Copy settings/siteaccess/site to settings/siteaccess/dept_example and set:

# settings/siteaccess/dept_example/site.ini.append.php
[SiteSettings]
SiteName=Department of Example
SiteURL=dept.example.gov
IndexPage=/content/view/full/<node id>
DefaultPage=/content/view/full/<node id>

[DesignSettings]
SiteDesign=dept_example
AdditionalSiteDesignList[]
AdditionalSiteDesignList[]=simple

and in dept_example/content.ini.append.php:

[NodeSettings]
RootNode=<node id>

Register and match it

# settings/override/site.ini.append.php
[SiteAccessSettings]
AvailableSiteAccessList[]=dept_example
RelatedSiteAccessList[]=dept_example
MatchOrder=host;uri
HostMatchType=map
HostMatchMapItems[]=dept.example.gov;dept_example

Keep the entries the installer wrote; add yours.

Host, DNS and certificate

Add the host name to DNS, to the web server or Velocity, and to the certificate (Going live: hosts, HTTPS and siteaccesses).

The administration

Add dept_example to [SiteSettings] SiteList[] of the admin siteaccess, so previews and links can use it.

Checks

php bin/php/ezcache.php --clear-tag=ini
curl -sI https://dept.example.gov/ | head -1

Open the site signed out; check the front page, a page, search, and that pages of other departments are not reachable under this host unless intended.

Become an Exponential Partner

Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x