What is OpenLiteSpeed (OLS)?
OLS is an open-source web server configuration that has an event-driven architecture, which means that it can handle thousands of concurrent requests with minimal CPU, memory, and other resources.
OLS is compatible with Apache and supports Apache modules and .htaccess files.
It also has built-in anti-DDoS security and brute force protection features. OLS is designed for speed and performance, especially for serving static websites and WordPress sites with caching plugins.
How can I use OLS with WordPress?
OLS works very well with WordPress – able to improve both the loading speed and responsiveness of your WordPress site. OLS also has a WordPress plugin called LiteSpeed Cache (LSCache), which can optimize your WordPress site by caching the pages, images, CSS, JS, and other resources.
Is OLS free to use?
RunCloud does not charge you anything extra for installing OLS as a server stack on your server. However, you will still need to pay your server provider for the server itself. RunCloud supports various server providers, such as DigitalOcean, AWS, Google Cloud, Vultr, Linode, and more.
How do I install OpenLiteSpeed?
To install OLS on your server, you need to connect a new server to RunCloud and choose the OLS server stack option. You can refer to our complete tutorial for installing an OpenLiteSpeed server.
Will OLS speed up web apps on RunCloud?
OLS may speed up your web apps on RunCloud by using LSCache and other optimization techniques. However, the actual performance may vary depending on various factors, such as your web app configuration, content, traffic, server resources, etc.
Our benchmark tests have shown that there is no significant difference between OLS and NGINX. However, if you are using OLS, you can take advantage of HTTP/3 out of the box without any additional configuration.
Can I change the server stack after creating a web app?
No, you can’t change the server stack after creating a web app. You need to decide whether you want to use NGINX or OLS as your server stack before connecting a new server to RunCloud.
If you want to switch from NGINX to OLS or vice versa, you need to create a new server with the desired server stack and migrate your web app to it.
Can I connect an existing server with OLS on it to RunCloud?
No, you can’t connect an existing server with OLS on it to RunCloud. You need to connect a fresh new server with no web server stacks installed on it to RunCloud. The server must have a clean install of a supported Ubuntu version.
How can I change OLS settings?
You can change OLS settings by going to your web app settings in RunCloud and clicking on Settings > Configuration. You will see a configuration file that you can modify according to your needs.
You should be careful when changing OLS settings, as they may affect your website functionality or performance. RunCloud has a default configuration that works well with most of the web apps. If you make any changes that cause errors or problems, you can use the ‘Reset to Default‘ button to restore the original configuration.
How do I restart the OLS web server?
There are two ways to restart the OLS web server in RunCloud. You can either use the RunCloud dashboard or the terminal.
To use the RunCloud dashboard, follow these steps:
1. Log in to your RunCloud dashboard and select the server that has OLS installed.
2. Click on Services from the main navigation menu and look for OpenLiteSpeed.
You will see a switch that you can click to select Stop, Reload, or Restart.
To use the terminal, follow these steps:
1. Log in to your server via SSH using your preferred SSH client.
2. Run the following command to restart the OLS web server:/usr/local/lsws/bin/lswsctrl restart
Does RunCloud Backup work with OLS?
Yes, RunCloud Backup works with OLS. You can backup and restore your web apps and databases on OLS using the RunCloud Backup feature. You can also schedule your backups to run automatically at a specific time and frequency.
Can I migrate from Apache or NGINX to OLS?
Yes, you can migrate from Apache or NGINX to OLS by backing up your data on one server and restoring it on another server with OLS installed. You can use the RunCloud Backup feature or any other backup tool to backup your data.
Note: You may need to make some adjustments to your web app settings after restoring them on OLS, such as changing the web server configuration or enabling LSCache.
If you have questions about OLS that are not answered here, you can check the official website of OpenLiteSpeed, which has a knowledge base, a documentation, and a forum that cover many aspects of OLS. You can also check the RunCloud community, which has a discussion section where you can ask questions and share your experiences with other RunCloud users.