1. The parameters for a cluster can be adjusted in the Settings. Navigate to Auto Horizontal Scaling and click on Add to create a rule. 2. (1) On the dropdown, select which node you want to apply it to and then (2) select which parameter you want to monitor for the...
FAQ
How to resolve 500 errors
Getting an Error 500 may sound like there is something wrong with the server, but this is actually an error in the WordPress code base – either in the plug-ins, in core, or in the theme. To find out where exactly the error is you can follow any of the steps below. Via...
How to Add an SFTP User
Our SSH gateway provides convenient access to all of your environments via SSH keys, but sometimes password-based access is required to give clients or other non-MightyBox users a login, for example. The 'SFTP/SSH Users' add-on should be installed on the application...
How to determine what directories or files are consuming disk space
1. On the AppServer level, open up Web SSH. 2. Start at the root by entering cd / and run the following command (this will return the 5 largest directories): du -hs * | sort -rh | head -5 Note: You may get a bunch of errors if you don't have permissions...
How to SSH into a container over public IP
If you need to give system access to a user that does not have a MightyBox account, follow the steps below. 1. On the AppServer level, click on the hexagon icon to access the Add-Ons. Find and install Root Access. 2. Turn off firewall on the node. 3. Generate your...
Redirecting an environment’s *.mightybox.site domain to its production domain
To prevent any SEO indexing issues as you transition an environment from staging to production, we might consider redirecting the domain via .htaccess. Here's how. 1. On the AppServer level, click on the wrench icon to access Config. Navigate to...
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.If you want to give external, non-MightyBox users access to your site, check this article on how to add SFTP Users. 1. Once you...