Steps/checklist for creating a new site on an existing server on Liquidweb
Account Functions > Create a New Account
)
Account Information > List Accounts
)Step 1: Create A Database
Step 2: Create Database Users
ssh-copy-id <username>@domain; ssh <username>@domain
ssh-keygen
, use defaults (press Enter until complete)cat ~/.ssh/id_rsa.pub
and copy the output (this is the server's public key)Account > Security > Account-wide deployment key
vi ~/.ssh/authorized_keys
and paste the Beanstalk deployment keysites/
directory and clone the repository for production and staging
mkdir -p ~/sites
cd ~/sites && git clone <repo_url> -b master <production_url>
cd ~/sites && git clone <repo_url> -b staging <staging_url>
.env
file with DB credentials, etc.New sites should use PHP-FPM.
For production sites on their own VPS, we want to increase the PHP-FPM max children and max requests.