Skip to content

Adding vhosts

Adding a new vhost can be done via https://sock.combell-sre.net/. This has to be done in 2 steps; creating an account and adding a new application;

Step 1: Choose or create account

Verify if you have an existing account which you would like to use by clicking on the 'Accounts' tab on the left:

If you want to create a new account, simply click the 'Add' button and select 'Add account'. In this step you will be able to customise the name add a password if required and/or link SSH keys for access to this account.

development, staging and production

Applications under the same account, use the same PHP-FPM pool. We therefore recommend to create different accounts for development, staging and production, rather than different applications under a single account.

Step 2: Create application

Once you have an account which you would like to use, click on the desired account (see Step 1). Here you will see all applications which are available for this account:

By clicking on 'Create your first application' you will be asked to provide a name for the new application, all other fields are optional.
Please note that the name does not need to be the domain which will be linked, domains/aliases can be added separately at the bottom of the screen (a default domain will be provided based on the application name, this will also resolve immediately and is intended for testing purposes).

Sidenote

It is possible to create multiple applications on a single account, but PHP-FPM pools are not linked to the application but to the account itself. This means that multiple applications on the same account will be using the same pools (e.g. if a testing and a prod application are created on the same account, failures in testing can impact the prod application). Splitting up applications into different accounts also allows for selecting a different PHP version per account.

Restart PHP

You can restart the PHP-FPM pools by logging in to the appropriate user account via SSH and issuing restartphp.