- Go to the main menu of the Bitrix panel (using the command/root/menu.sh).
- Select 6. Configure pool sites.
- In the next window open 1. Create a site.
- Next, the Site Creation Wizard will open.
Enter values here:- Enter the site name -site domain name.
- Enter site type – kernel (website with a database).
- Enter site encoding -site encoding. Typically UTF-8.
To find out the encoding, open the site and view the page code (for example, in Chrome, right-click on an empty space and select "View page code" from the context menu. The required value is indicated in the <meta charset = encoding> line).- Do you want to enable cron for this site -if the sending server has tasks configured in the Crontab for the site, then you must select y, otherwise - N.
- Do you want to customize them - specify y for self-configuring authorization in the database
- Enter the document root path - press Enter to set the default value.
- Enter database name - database name.
- Enter username - username, you can specify the name of the database.
- Enter the password for the database name - database user password.
- Re-enter the password for the database name - password from the previous point.
- Press Enter to save your changes.
- The site will appear in the list after a while. Press Enter to refresh the list.
Deleting a site
- Select 6. Configure pool sites.
- In the next window, select 2. Delete a site.
- Specify the directory of the site to be deleted.
- Press Enter to save your changes and exit the wizard.
If you have any questions, please create a ticket for technical support