Supported OS’s:

Any other OS’s will not work. Please do not submit bug reports from other OS’s.

Do not use this script on any OS if it is not a fresh install.

How to use this script?

First, Setup Nginx and PHP (This can take a long time depending on your server as this will compile 3 different versions of PHP as well as install many build dependencies):

sudo ./wscm.bash -s

Second, add a site to host:

sudo ./wscm.bash -c yourdomain.com

This will add a server block in nginx as well as create a MySQL database and setup your public root at /var/www/yourdomain.com/public_html. The MySQL database details are found at /var/www/yourdomain.com/db.bash

How can I delete a domain?

sudo ./wscm.bash -d yourdomain.com

How can I backup a domain + the MySQL database?:

sudo ./wscm.bash -b yourdomain.com

This will backup the database as well as the public_html root to /opt/backup