Those looking for running ASP.NET on CyberPanel with examples and screenshots can check: https://blog.viov.nl/publish-run-asp-net-on-cyberpanel-linux/
For SignalR and Web Sockets: https://stackoverflow.com/questions/76322329/error-on-asp-net-signalr-hosted-on-cyberpanel
I have a question. When I setup an external app in OLS. There is an option: Max Connections which is upto 2000 maximum. Does a websocket connection also count in the maximum connections? If yes, then can I increase the limit?
I checked your documentation...
Ok. noted. but on my setup, the browser console shows connection is wss, and it works fine. May be because I am using http -> https redirection. So, ws gets redirected as wss, just like http -> https. But it works fine. I don't know how this is happening, because I don't actively code now.
There can be many reasons why SignalR or websockets do not connect in OpenLiteSpeed. I had the same problem yesterday, but now it is working fine. But my problem was with OpenLiteSpeed specifically denying the WebSocket connection, and had nothing to do with ASP.NET code. So, do this in this...
One important point: You might need to add:
Environment=ASPNETCORE_URLS=http://127.0.0.1:5000
in your service file if you have 2 dot net projects or using https, but pointing to http path in server
I am running a WordPress (PHP) website on OpenLiteSpeed + CyberPanel: https://softsolutionslimited.com
And Dot NET 6.0 Razor pages website at: https://business.softsolutionslimited.com/Customer
It takes like 15 minutes to setup OpenLiteSpeed + CyberPanel, and another 15 minutes to setup Dot...
I want to do it, but it is not that important though. The reason is:
I have 3 linux users:
"root": created by the Ubuntu OS
"exam3949": created by CyberPanel / OpenLiteSpeed installation, and has a group with same name exam3949
"user": I have a user "user" (sudo admin user) that has Gnome /...
I am using CyberPanel with OpenLiteSpeed with one domain, like: example.com
If I add a public_html folder of the domain to a user group, the domain starts giving "too many redirects" error. For example:
Command:
ls -la /home/example.com
returns:
drwxr-x--- 6 exam4939 nogroup 4096 Dec 15...
I am using CyberPanel with OpenLiteSpeed with one domain, like: example.com
If I add a public_html folder of the domain to a user group, the domain starts giving "too many redirects" error. For example:
Command:
ls -la /home/example.com
returns:
drwxr-x--- 6 exam4939 nogroup 4096 Dec 15...
Steps to run a dotnet project (Website.dll) on CyberPanel and OpenLiteSpeed on a domain: yourdomain.com
Make sure CyberPanel, OpenLiteSpeed and dotnet core 5.0 is installed on the server and SSL is issued for yourdomain.com
--------------------------------------------------------------------...
Steps to run a dotnet project (Website.dll) on CyberPanel and OpenLiteSpeed on a domain: yourdomain.com
Make sure CyberPanel, OpenLiteSpeed and dotnet core 5.0 is installed on the server and SSL is issued for yourdomain.com
--------------------------------------------------------------------...
I am not an expert in Ubuntu. I am a .NET programmer in WPF, ASP.NET core Razor and Web API projects. My requirement is to run Wordpress (PHP) and ASP.NET website (https://softsolutionslimited.com) on the same domain with at least 2 vCPU and 4 GB RAM, which requires higher hosting plan than a...
It will take me a week to make it. However, I can tell you the errors I had to face. Make sure your dontnet service file runs on boot automatically. Make sure www-data user has permissions on the dotnet folder and setup virtual host and proxy on openlightspeed. If any error then email me...