Search results

  1. ankit_nagpal

    How to setup an asp.net core website

    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
  2. ankit_nagpal

    How to setup an asp.net core website

    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...
  3. ankit_nagpal

    How to setup an asp.net core website

    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.
  4. ankit_nagpal

    How to setup an asp.net core website

    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...
  5. ankit_nagpal

    How to setup an asp.net core website

    Did you resolve the issue? If yes, then how?
  6. ankit_nagpal

    How to setup an asp.net core website

    Why Instead of Websocket, why are you not using SignalR dotnet library?
  7. ankit_nagpal

    How to setup an asp.net core website

    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
  8. ankit_nagpal

    How to setup an asp.net core website

    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...
  9. ankit_nagpal

    Unable to add public_html folder to a group

    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 /...
  10. ankit_nagpal

    Unable to add public_html folder to a group

    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...
  11. ankit_nagpal

    Unable to add public_html folder to a group

    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...
  12. ankit_nagpal

    asp.net site

    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 --------------------------------------------------------------------...
  13. ankit_nagpal

    How to setup an asp.net core website

    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 --------------------------------------------------------------------...
  14. ankit_nagpal

    How to setup an asp.net core website

    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...
  15. ankit_nagpal

    How to setup an asp.net core website

    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...
  16. ankit_nagpal

    How to setup an asp.net core website

    Hi, After a few modifications on my Ubuntu server I managed to run a ASP.NET razor page website on OpenLiteSpeed with CyberPanel. I am making a manual for others. If interested, I can paste it here.
Top