Sites
New site
luckybx site add shop.example.com --distro businessEach site has its own database, its own PHP pool and its own nginx settings. The first site is no different from the tenth.
What to put on the site#
This is set by the --distro key:
start,standard,small_business,business: editions of "Site Manager".bitrix24: self-hosted Bitrix24.setup: the bitrixsetup.php file, you pick the edition in the browser.restore: the restore.php file, to restore a site from a Bitrix backup.none: an empty folder, you put the files there yourself.
Other keys#
--php 8.3sets the PHP version. It must be installed.--alias www.shop.example.comadds a second name. The key can be repeated.--link main.example.commakes a site on the core of another site, see several sites on one core.
After the Bitrix wizard#
luckybx site finish shop.example.comWhat the command does:
- turns on the Redis cache;
- moves background jobs (agents) to cron;
- connects the push server, if there is one;
- turns on fast file delivery through nginx;
- moves Bitrix temporary files out of the site;
- fixes the database structure.
It can be run again, nothing gets worse.
Forgot a password#
The database details are shown by luckybx site info, in the menu it is the "Details" item.

A new Bitrix administrator password can be set:
luckybx site admin-password shop.example.comCheck a site#
luckybx site check shop.example.com