Tutorials

How to turn off Litespeed Web Application Firewall (WAF)

1. For standalone sites, go to the AppServer level and click on the gear icon to open its dropdown and select Variables. For cluster environments, follow the same steps but access Variables on the Load Balancer level of the cluster. 2. Scroll down to WAF and type in...

How to authorize SSL for a custom domain

When creating a MightyBox site, your staging environment with a mightybox.site subdomain automatically gets a security certificate. However, when ready to take the site live, you would need to configure the Let’s Encrypt Free SSL Add-On. For standalone: 1. On the...

Adding a public key to MightyBox

If you don't know how to generate a public key of your own, check our guide here on how to generate a SSH key.× 1. Click on your user account on the top right corner of your dashboard, and select ’Settings’ 2. Navigate to SSH Keys and click on the green ‘Add Public...

How to connect via SFTP/SSH

To connect via SFTP/SSH, you’ll need to add a public key to MightyBox first. If you don’t know how to add a public key, check this article.× 1. Once you have added your public key added to MightyBox, hover over the environment you want to connect via SFTP, click on...

Generate SSH Key on Mac/Linux

1. Launch the Terminal app on your Mac Press CMD + spacebar on your Mac to launch ‘Spotlight Search’, then type ‘Terminal’ and press enter. 2. Generate your key Type in the exact command on your terminal window: ssh-keygen -t rsa It will then ask you to enter which...

Generate SSH Key on Windows

1. Check if you have the latest updates of Windows installed Beginning with Windows 10, Windows now comes with a built-in ssh client. To check if the client is working, open Powershell or CMD window and type in ssh If the client is installed, you should see the...

Uncompress a gzip (.gz) file

Gzip is often used for compressing files such as SQL exports. To unzip such a file, run this command: gzip -d file.gz

Moving all files in a directory up one level via command line

If you find that you've accidentally nested files and folders too deeply within a directory, it's easy to resolve by moving the impacted files via a single command. First, let's look at an example directory structure: directory1 -- directory2 -- directory3 --...