How to restart Litespeed web server Connect to the application server via SSH, then run the following command: sudo service lsws restart