Sites
Several sites on one core
Bitrix can keep several sites on one core and one database. In LuckyBX such a site is called linked.
luckybx site add second.example.com --link shop.example.comIt shares the core, uploads and the local folder with the main site, and its own public part lies separately.
What to do in the admin area#
- In the admin area of the main site open "Settings", "Product settings", "Sites".
- Add a site: the domain name, the folder path (the command shows it) and a template.
- Create the public part with a solution wizard or copy your own files.
How it differs from a normal site#
- PHP version, cache, search and updates are shared with the main site and are set up there.
- Background jobs are run by the main site's cron.
- The certificate is its own.
- Normal letters are sent by the main site's cron, so connect the mail service on the main site.
The main site cannot be disabled while other sites are linked to it.