Hello. Someone can help me with configure the OpenLitespeed to work with ASP website?

The wiki does tell much about this. I already installed mono because my webapp (tcadmin) running on nginx.


Active Member
OpenLitespeed currently only runs on linux, Mac, FreeBsd and some other relate platforms.
We do not provide support on windows building right now, sorry.
Thanks for your request and info.
Steps to run a dotnet project (Website.dll) on CyberPanel and OpenLiteSpeed on a domain:

Make sure CyberPanel, OpenLiteSpeed and dotnet core 5.0 is installed on the server and SSL is issued for


Following code should already be added to Website.dll as described in:

app.UseForwardedHeaders(new ForwardedHeadersOptions
ForwardedHeaders = ForwardedHeaders.XForwardedFor | ForwardedHeaders.XForwardedProto



Step 1. Publish the dotnet project in the folder:



3. If Website.dll uses database, then make sure you have set the same user and password in your database in CyberPanel:

Change user password in CyberPanel -> Databases -> PhpmyAdmin -> "User Accounts" -> Change Password


2. Make dotnet Website.dll a service:

Create a service file:

sudo nano /etc/systemd/system/website.service

File contents:

Description=Example .NET Web App running on Ubuntu

ExecStart=/usr/bin/dotnet /home/
# Restart service after 10 seconds if the dotnet service crashes:



4. Enable the service:

sudo systemctl enable website.service
sudo systemctl daemon-reload
sudo systemctl start website.service


5. Check if the service is listening to 5000 port using:

sudo systemctl status website.service


6. Now, the dotnet assembly should be running fine on 5000 port:


you can check it on Firefox or using curl command


7. Setup dotnet server in OpenLiteSpeed:

Server Configuration -> External App -> Click "+" button -> Type: Web Server -> Click ">|" button on right side -> Name: dotnet_website -> Address: localhost:5000 -> Max Connections: 1900 -> Initial Request Timeout (secs): 5 -> Retry Timeout (secs) -> 5

8. Perform graceful restart of OpenLiteSpeed at top-right Reset button.

9. "Virtual Hosts" -> -> Context -> Click "+" button -> Type: Proxy -> Click ">|" button on right side -> Enter URI as a slash (root): / -> Click save button on right side

10. Perform graceful restart of OpenLiteSpeed at top-right Reset button.