WordPress. Quick start
The BeAdmin panel sets up the entire stack for a WordPress site for you: an Nginx virtual host, a MariaDB database and a database user — and it also deploys the WordPress files on the server. You specify the domain, the WordPress version and the database access parameters; the panel assembles the site, and all that is left is to go through the standard WordPress setup wizard.
Preparing for installation
The WordPress module runs on top of three dependencies: Nginx, PHP and MariaDB. Until they are installed, you cannot create sites.
- Open WordPress in the side menu of the panel.
- If the dependencies are not installed, the panel shows the "Install dependencies" block with the list of Nginx, PHP and MariaDB. Click "Run installation" — the panel will install the missing modules.
Once the dependencies are installed, the panel opens the site creation form right away.
Creating a site
A WordPress site in BeAdmin is a bundle of an Nginx virtual host, the WordPress files on the server, a MariaDB database and a user of that database. All four entities are created from a single form: the panel adds the virtual host, deploys the WordPress files and connects the database itself.
- On the module page, click "New WordPress website".
- In the "Basic settings" block, fill in the site parameters: domain, files path on the server, WordPress version, PHP version and connection mode (HTTP/HTTPS). Each field and its limits are described in detail in WordPress site creation form reference.
- In the "Database" block, specify the connection parameters. You can pick an existing database and user or create new ones. The possible combinations and their limits are described in the same reference, "Database and user combinations" section.
- Click "Create".
The panel will deploy the virtual host, create the database and the user (unless existing ones were picked), deploy the WordPress files and add the site to the "Websites with WordPress" list.
Finishing the WordPress installation
Once the site is created, the panel opens its card. Click "Go to Admin" — the standard WordPress wizard will open: site title, administrator name, password and administrator email. Click "Install WordPress" to finish the installation.
Site card
After creation, the panel opens the site card — from here you can go to the WordPress admin area, to the virtual host settings, to the MariaDB module or delete the site. Clicking the site in the "Websites with WordPress" list in the side menu of the module brings you to the same place.
The card shows:
- The "Domain" field — the domain name of the site (the
server_nameof the Nginx virtual host). - The host state — the "Host enabled" / "Host disabled" indicator. It looks like a toggle, but it is actually a link: clicking any part of it opens the host page in the Nginx module, where the state can be switched.
- "Go to Admin" — opens the WordPress admin area at
/wp-admin/. The button appears when the virtual host is running; the URL opens over HTTPS if SSL is configured for the host, otherwise over HTTP. - "Go to DB" — opens the MariaDB module page in the panel. From there you can enter phpMyAdmin for the relevant database.
- "Edit host params" — opens the page of the Nginx virtual host. From there you can also change the PHP version, the files path, the connection mode and toggle the host state.
The "Delete" button starts the site deletion and opens a confirmation dialog.
In the "Confirm site deletion" dialog the panel always deletes the Nginx virtual host, while the site files, the database and the database user are deleted only if you tick the corresponding checkboxes:
- "Delete files" — the directory with the WordPress files on the server.
- "Delete database" — the MariaDB database of this site.
- "Delete database user" — the MariaDB user the site uses to access the database.
By default all three checkboxes are off, meaning that without an explicit choice only the virtual host is deleted, while the files and the database are kept. In the "Domain" field, type the domain name of the site — the "Delete" button becomes active only on an exact match.
‼️ Deletion is irreversible
If you tick the files and the database, you will not be able to restore them after deletion — the site will have to be created from scratch.