WordPress and applications
StackRegent installs and looks after web applications for you. WordPress has its own toolkit; Joomla, Drupal, phpBB and DNN install in one click; and developer tools cover Git, PHP Composer, Laravel and Node.js. All of them run as your subscription's system user.
Most of these tools need permissions in your hosting plan, such as WordPress Toolkit, Git management, Laravel Toolkit and Node.js support management.
WordPress#
Click WordPress in the menu, or the WordPress tile of a website. With several subscriptions, choose the Subscription at the top.
Install WordPress#
- Click Install WordPress.
- Choose the Website and, optionally, a Folder. Leave it empty to install at the root of the website; the folder must be empty apart from the default page.
- Enter the Website title and choose the Language.
- Enter the administrator User name (avoid
admin), Password (at least 10 characters) and Email. - Choose Automatic updates: Security and minor releases (recommended), All releases, including major ones or Off, and whether to Update plugins automatically and Update themes automatically.
- Click Install.
The panel creates the database and the administrator account. Scan finds WordPress installations you uploaded yourself.
Manage an installation#
Each installation has Log in to open the WordPress dashboard without typing the password. Open an installation to see its tabs:
| Tab | What you can do |
|---|---|
| Overview | Update WordPress, plugins and themes (a restore point is saved first); set automatic updates; switch Maintenance mode, Search engine indexing and Debugging; Change password of the administrator |
| Plugins, Themes | Activate, update, remove, switch auto-update, Add plugin or Add theme from the WordPress directory with Install or Install and activate |
| Security | Apply recommended hardening measures one by one or with Apply all, Revert them, Replace security keys |
| Backups | Back up files and database, Restore or remove backups |
| Staging and copies | Create staging copy, Copy to live, or copy the site elsewhere |
At the top, Log in to WordPress, Check now and Remove are always available. Automatic updates are checked every night at 04:20 server time.
One-click applications#
- Open the website (Manage) and click Applications.
- Click Install next to Joomla, Drupal, phpBB or DNN.
- Enter the Folder (empty for the website root), Title, and the administrator User name, Password and Email.
- Click Install.
Save the password: unlike WordPress, these applications have no login from the panel. DNN switches the website to ASP.NET 4 and uses a SQL Server database; its setup takes several minutes.
Installed on this website lists the applications with Version and Checked date. Use Update (Joomla and Drupal), Back up, the refresh icon to check the version, and the bin icon to remove.
Git#
- Open the website and click Git, then Add Repository.
- Under Code comes from, choose A remote repository or Pushes to this server.
- Enter a Name. For a remote repository, enter the Repository address, for example
https://github.com/owner/repo.git, and the Access: Public repository or Private: access token. Use agit@github.com:owner/repo.gitaddress to work with an SSH deploy key. - Enter the Branch.
- Choose the Deployment: Automatic: after every pull or push, Manual: with Deploy now or No deployment (keep the repository only).
- Enter Deploy to, a folder of the webspace, and optional Deployment actions, commands run after each deployment, such as
php artisan migrate --force. - Click Add.
The repository card shows:
- Pull updates and Deploy now buttons,
- for remote repositories, a Webhook address for GitHub, GitLab or Bitbucket, so every push is pulled automatically,
- for SSH, the Public key to add as a read-only deploy key,
- for repositories on this server, the Push address. Log in with the subscription's system user and its password, for example
git remote add live <push address>thengit push live main, - Recent commits.
PHP Composer#
Open the website and click PHP Composer. Choose the project (a folder with composer.json), then use Check for updates, Install or Update all. Under Add a package, add a package, optionally as Development only (require-dev). Settings lets you choose the PHP version, leave out development packages, Rebuild autoloader and Validate composer.json.
Laravel#
Open the website and click Laravel.
- Click Install Laravel and enter the Application folder, next to the document root.
- Tick Make /…/public the document root, Create a MariaDB database (otherwise SQLite) and Run the Laravel scheduler every minute as needed.
- Click Install. Scan finds Laravel applications you uploaded.
Each application card has switches for Maintenance mode, Debug mode, Scheduler and Queue worker, a field to run artisan commands, quick buttons (Migrate, Migration status, Cache config and routes, Clear caches, About), Edit .env and Link public/storage. If the document root is not the application's public folder, the panel warns you.
Node.js#
Node.js applications run in IIS with iisnode.
- Open the website and click Node.js.
- Switch on Enable Node.js and choose the Node.js version (empty uses the newest installed).
- Enter the Application startup file, for example
app.js, inside the document root. - Choose the Application mode: Production or Development (errors shown in the browser).
- Add Environment variables, one per line as
NAME=value. - Click Save.
Requests for files that do not exist go to the startup file.
Related#
- Websites and domains
- Databases
- Backups and scheduled tasks
Something missing? Ask in the community or open a ticket.