RunCloud Help

Apr 14, 2021

OpenLiteSpeed Server Stack FAQ

RunCloud is happy to introduce a new server stack known as OpenLiteSpeed (OLS). Here you will find the resources you need to begin using this server configuration stack.


1. What is OLS?

OpenLiteSpeed is an open-source web server configuration with event-driven architecture similar to and compatible with Apache and has the capability of serving thousands of clients simultaneously, while expending very minimal CPU, memory, and other resources. It was built for speed and security and handling websites with a lot of traffic. - There is a notable difference in PHP performance when serving static websites and it can easily be used with WordPress as a caching system. It has built-in anti-DDoS security and its own protection against brute force from the same IP address.


2. Can I use OLS with WordPress?

Absolutely, OLS works very efficiently with WordPress and in fact, LiteSpeed Technologies created a WordPress plugin that can be used for caching.


3. Is OLS free to use?

RunCloud offers to install OLS as a server stack for free, but any charges that are incurred will come from the creation of the server, based on your server provider.


4. How do I install OLS?

You will need to connect a fresh new server and choose the OLS server stack. Go to the main server screen on the RunCloud dashboard and click Connect New Server. You will see a new area available which you are required to click: Nginx or OpenLiteSpeed.

5. What plans are available to OLS?

OLS is available to paid plans only.


6. Will OLS speed up web apps on RunCloud?

With LiteSpeed Cache (LSCache) enabled, including WordPress plugins specialized for OpenLiteSpeed, performance may be improved but not guaranteed. Many benchmark tests do prove that OLS is faster than Apache and may be slightly faster than NGINX, but is definitely able to handle more simultaneous connections than both, but may experience issues when under high load.


7. Will I be able to change the OLS stack after creating a web app?

No, once you have selected NGINX as your server configuration, you will need to create a new server setup for OLS.


8. If I already set up a server with OLS on it, can I connect RunCloud?

While you can use the Build Server or Connect via IP Address features to install RunCloud on an already existing server, the server must be empty, with no LAMP, LEMP, or OLS web server stacks already installed on it, and must contain a fresh install of Ubuntu 18.04 or Ubuntu 20.04.


9. Can I use OLS for my primary websites?

OLS is still in Beta on RunCloud and it is not recommended to begin using OLS currently for production servers. If you choose to use OLS on your production server, you do so at your own risk.


10. Will I be able to change the OLS stack after creating a web app?

No, once you have selected NGINX or OLS as your server configuration, you will need to create a new server setup with the desired web server stack. The option to switch between NGINX + Apache2 Hybrid, Native NGINX, and Native NGINX + Custom Config will be unavailable.


11. Can I use Apache with OLS?

OLS does support Apache modules and the usage of the .htaccess file.

Note: If a change is made to .htaccess or the server configuration, you will need to restart the OLS web server.


12. Can I change OLS settings?

Absolutely! Once you are in your web application, scroll down the navigation menu and you will see LiteSpeed and a Configuration setting.

Once you click in, you will see quite a few options you can change here.

You should know what you are doing when you enter into this section. RunCloud has a default configuration which should give you a basic functionality that will work with your server. You may check for additional OpenLiteSpeed configurations on the OLS website. If making any changes causes errors or prevents your website from running, you may use the Reset to default button. Please be careful when making changes, as altering settings could cause your web application cease running.


Note:If a change is made to .htaccess or the OLS configuration, you will need to restart the OLS web server.


13. How do I restart the OLS web server?

On the main navigation menu, select Services and look for OpenLiteSpeed. You will see a switch which you can click and select Stop, Reload, or Restart.

In the terminal, type this command:

/usr/local/lsws/bin/lswsctrl restart


14. What does OLS not support on RunCloud?

Although these features may be supported in the future, they are not supported for OLS Beta.

Features that are not currently supported:

  1. Staging
  2. Web App Cloning
  3. RunCloud Hub
  4. Atomic Deployment


15. Is MariaDB supported?

Yes, you will still be able to create and use databases on OLS.


16. Does RunCloud Backup work with OLS?

Absolutely.


17. Can I migrate from Apache or NGINX to OLS?

You may backup your data on one server, including the databases, and restore or re-upload the data on to your OLS server.


18. Can I use the backup solution on RunCloud to migrate from server to server?

You can copy all of your files and the database from server to server by using the clone feature.


Note:Any NGINX settings cannot be copied to an OLS server, which may require additional configuration.


19. Does RunCloud offer a migration service from NGINX to OLS?

RunCloud does not currently offer this service and you must do this manually on your own. Please ensure you have ALL of your data backed up in at least two places before you even attempt to migrate your data from one server to another. It is highly recommended that you do not delete your old server UNTIL you have confirmed that all of your data is fully restored and working on the new OLS server.


20. I need help with OLS.

While in beta, please note that RunCloud support is limited to mainly dashboard errors and configuration setting errors. By using OLS beta, you understand that you will be testing and reporting bugs to the Support Team so that we can improve the OLS on RunCloud.


21. I have questions about OLS that are not answered here.

OLS has an official website with a knowledgebase that should answer many of your questions. Considering that OLS has been in operation since 2003, there are plenty of articles, documentation, and forums that discuss many factors of OLS. The RunCloud Support Team can only offer you suggestions, advice, and potential solutions to any issues that may arise, but may not be able to resolve every issue, during this beta period.


RunCloud works very hard to ensure our community has the tools they need to be productive as developers. OpenLiteSpeed was a suggested feature that had the most upvotes and lots of discussion from the community, and therefore, was implemented by RunCloud. As OpenLiteSpeed is still very much in beta and will be for some time, please do not hesitate to reach out to RunCloud support with any bug reports, findings, or offer additional suggestions on thefeatures page.

server to server by using the clone feature