Steps to run a dotnet project (Website.dll) on CyberPanel and OpenLiteSpeed on a domain: I am right now in the middle of setting up the Hetzner cloud, so a little busy for a week. So, I spent 3-4 days to learn Ubuntu and setup both Wordpress and ASP.NET on same server using OpenLiteSpeed and CyberPanel. It is not about money, but more about freedom in programming. So, I am not very comfortable with Windows hosting because of Microsoft licensing and only one panel option, which feels kind-of restricting. On the other hand, there are many options for panels and servers on Linux (Ubuntu), and therefore lots of tutorials on internet for those. The problem was that Windows server licensing is per vCPU of around $5-7 / vCPU, which looks unfair, and there is only one option of hosting panel on Windows: Plesk. When I was not able to run ASP.NET on OpenLiteSpeed, I was using Contabo Windows VPS: with Plesk panel. I also tried Apache and nginx with directadmin panel, but OpenliteSpeed with CyberPanel worked best in combination. So, I had 2 options: to run Wordpress on Windows (IIS) hosting, or run ASP.NET website on PHP web server (OpenLiteSpeed). My requirement is to run Wordpress (PHP) and ASP.NET website ( ) on the same domain with at least 2 vCPU and 4 GB RAM, which requires higher hosting plan than a normal shared hosting. NET programmer in WPF, ASP.NET core Razor and Web API projects. Please remember I'm not talking about mono, I'm talking about a native proccess into my linux machine !!! There is a Guide to configure an asp.net 5.0 web site that is already running over dotnet 5.0 for OpenLiteSpeed? How and where to setup something like the nginx above sample but for OpenLiteSpeed? Proxy_set_header X-Forwarded-Proto $scheme ![]() Proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for This is for ngingx config and must be placed at /etc/nginx/sites-available/default. I configured an openlitespeed site as other ones that I have running on my ubuntu server, but don't know how to write a similar config on litespeed, like the ngingx suggested in in the above tutorial I'm not trying with mono, is now 2021 where dotnet 5.0 now runs native on linux without problems, all documentation I found is about Apache or nginx, I was trying this tutorial for nginx, but I'm totally lost: I was trying to setup an asp.net core 5.0 web api service on my Ubuntu 18.04 with openlitespeed but all I found is this old thread
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |