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

Separate hosts and siteaccesses

How a partner portal gets its own address next to the public website in one Exponential installation, or runs in an installation of its own - siteaccesses, host matching, sign-in only on the portal, its own design…

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/help/businesses/extranets/separate-hosts-and-siteaccesses.md

On this page

Separate hosts and siteaccesses

This page is for managers and administrators who decide where the partner portal lives: at its own address such as partners.example.com, beside the public website in the same installation, or in an installation of its own. It explains the Exponential concept that makes this possible, the siteaccess, and the trade-offs.

Contents

  1. The siteaccess in one paragraph
  2. Three shapes
  3. A portal beside the public site
  4. Sign-in only on the portal
  5. Its own look
  6. Its own host name and HTTPS
  7. Test and staging hosts
  8. Trade-offs
  9. Checklist
  10. Related pages

The siteaccess in one paragraph

A siteaccess is one way into an installation: a name, its settings in settings/siteaccess/<name>/, and a rule for which requests it answers, for example by host name (10.2 Siteaccesses and site addresses). The public website, the administration and a partner portal can be three siteaccesses of one installation, each with its own address, design, start page and sign-in rules.

Three shapes

ShapeWhat it meansFits when
Portal siteaccess in the same installationone installation, a partners siteaccess on its own hostcontent is partly shared with the public site; one team runs both
Portal folder of the public sitea members area under the public site's addresssmall portals, little separation needed (Member registration)
Separate installationits own code, database and userscontracts require strict separation, or a different update rhythm

A portal beside the public site

The steps for a second site are in Setting up several sites in one installation. For a portal they come down to:

  1. A folder Partner portal in the content tree; its node becomes the portal's root (content.ini [NodeSettings] RootNode) and start page (IndexPage).
  2. A siteaccess partners with SiteURL=partners.example.com.
  3. Host matching in settings/override/site.ini.append.php: MatchOrder=host;uri, HostMatchType=map, HostMatchMapItems[]=partners.example.com;partners.
  4. The host name in DNS, the web server and the certificate.

Shared items, such as product news, can be shown on both sites: an object can have locations in both trees, or be related from a page in the portal (Relations and reuse).

Sign-in only on the portal

Two settings make the portal private while the public site stays open:

  • In the portal siteaccess, [SiteAccessSettings] RequireUserLogin=true: every visitor who is not signed in goes to the login page; AnonymousAccessList[] keeps registration, activation and password reset reachable (What visitors may see, Siteaccess settings). The public siteaccess sets false.
  • The policy user/login can be limited by SiteAccess (kernel/user/module.php). Give partner roles user/login for partners, staff roles for the administration, and members of the public site only the public siteaccess. A role page then reads, for example, May log in, on the siteaccesses partners (Roles and policies, 2).

Warning

Portal content must sit in sections that the public Anonymous role does not read. The default Anonymous role reads Section Standard only (Sections, 2); keep it that way and test logged out on the public host.

Its own look

Each siteaccess has its own SiteDesign and can fall back to other designs (Designs and the fallback chain). The portal can look like the brand but plainer, with a menu of the partner areas and a sign-out link. Templates can also differ by section, for example a different look for the Gold tier (Sections, 11.1).

Its own host name and HTTPS

The portal's host name goes into DNS, the web server or Velocity, and the certificate; SiteURL must be the address people use, because mail links are built from it (Going live: hosts, HTTPS and siteaccesses). Registration mails point into the administration; if its address is not reachable from the mail, set RegistrationAdminBaseURL (Registration and account approval).

The administration itself can have its own host name and network limits (Restricting the administration).

Test and staging hosts

site.ini [SiteAccessSettings] HostMatchMethod decides how the host map compares hosts: strict (default), start, end or part. With start, partners.example.com.test.local reaches the portal's siteaccess without entries of its own. start and part also accept hosts you did not mean, so use them only where the web server answers for your own hosts (Siteaccess by host prefix).

Trade-offs

Same installationSeparate installation
one kernel and one set of extensions to update and securetwo to update and secure
shared content, media and searchcontent copied or synchronized
one user base: staff accounts work in bothseparate users: nothing leaks across
one backup restores bothindependent restores
a mistake in roles can expose contentseparation by construction

The same table, for brands, is in Setting up several sites, Trade-offs. Logs and caches can be kept per site (Logs, INI cache and expiry timestamps per site).

Checklist

  • To do: Shape chosen and written into the plan.
  • To do: Portal siteaccess with RequireUserLogin=true; public siteaccess with false.
  • To do: user/login limited by siteaccess in every role.
  • To do: Portal sections absent from the Anonymous role; tested logged out on the public host.
  • To do: Host name in DNS, web server and certificate; SiteURL correct.
  • To do: Registration mail links tested.

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