Running a site
Several websites
Run more than one website, each with its own domain, from one admin.
Settings › Languages & sites › Sites adds websites to the same admin.
- Each site has its own domain, pages, menus, forms, redirects, settings, languages and people.
- Shared by all sites: media, users, roles, translations and the AI activity log.
- The admin: each site is at
/admin/{site}, with a site switcher in the sidebar once there's more than one. - The website: a request is answered by the site whose domain it came to. The default site answers every other domain.
In code
Queries only see the current site's content. Use CurrentSite::using($site, fn () => …) to work on another site's, and Page::searchSite($terms, site: $site) to search it.