I suggest you ...

Support Asp.net Core in Linux in Plesk 17

Please, add support to asp.net core in plesk 17 for linux.

353 votes
Sign in
Password icon
Signed in as (Sign out)

We’ll send you updates on this idea

Andre Pavini shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

Hi everyone,

This is most definitely a valid request and, in fact, we’ve been doing some research on this topic for quite some time. There is no ETA at the moment, but we would really appreciate you voting for this request so that we can accurately assess its popularity relative to other features. Thanks in advance!



Sign in
Password icon
Signed in as (Sign out)
  • bitbonk commented  ·   ·  Flag as inappropriate

    Trying to find a managed hoster, especially in Europe, that has managed hosting for ASP.NET Core with prices comparable to PHP managed hosting is simply impossible.

  • Anonymous commented  ·   ·  Flag as inappropriate

    bitbonk, that's not true. I have a couple .net Core sites hosted with RDO Servers, so your not limited to AppEngine or Azure

  • bitbonk commented  ·   ·  Flag as inappropriate

    I fear that until ASP.NET Core is supported natively by Plesk, it is very unlikely that any of the cheaper webhosters (like godaddy for example) will adopt ASP.NET Core (which already approaches version 2.1 by the way). Until then we are forced to pay a really hefty premium price to Google (AppEngine) or Microsoft (Azure App Services) if we want to host a simple website built on ASP.NET Core!

  • Anonymous commented  ·   ·  Flag as inappropriate

    Haven't tested but It should be possible through a docker container. Did someone tried this ? Just wondering.

  • Bruno commented  ·   ·  Flag as inappropriate

    @Julien you're right! Without the "Serve static files directly by nginx" selected it doesn't need any fiddling around. Thought you said to leave that on on the first place...

    Was thinking to start moving into production some net core apps with those custom settings but I'm now wondering what will happen when official support is added?

    Any ETA or will we be able to ride with these custom settings for a while? :P

  • Julien commented  ·   ·  Flag as inappropriate

    @bruno, happy that it is helpfull for you :)

    I don't understand why you have to touch an index.html file as the redirect should work for anything if the application handle it. (maybe something to do with nginx serving static file ?)

    I tested with the default web application (MVC .net core) from visual studio, hitting URL/Home work as excepted.

    Anyway, I'm not anymore a plesk user because of scaling needs. but I hope they integrate that great technology asap.


  • Bruno commented  ·   ·  Flag as inappropriate

    @Julien thanks for sharing that config, it is a bit fiddly as you said but it ended up working for me too!

    Just wondering how you manage to load your web's index?

    My dotnet app has it's index on URL/index so had to make an index.html file on that web's home dir, so URL/index.html redirects to URL/index

  • Vaclav Elias commented  ·   ·  Flag as inappropriate

    Thanks for sharing. It is still. But I was wondering if it is just my observing or there is something else. You have got many features and bits on Azure which other platforms don't have at all but you not necessarily need them. The biggest issue I had that I cannot increase just a memory e.g. by 1GB without doubling the cost of the whole VM and getting other unnecessary resources, same for Azure Apps. The VM hardware cost me 30-50% less since I moved away from Azure. So running ASP.NET Core in Linux would help reduce the cost even more as majority of my websites are ASP.NET Core.

  • kironet commented  ·   ·  Flag as inappropriate

    Vaclav: Azure is(at least it was when I was trying it) expensive as *** :)

  • Vaclav Elias commented  ·   ·  Flag as inappropriate

    Just curious, why you would like to migrate from Azure? Do you mean migrating from Azure Apps or Azure VM to another platform with Plesk?

  • Julien commented  ·   ·  Flag as inappropriate

    .net core on linux, dev need it, gogogo ! :)

    Actually it work aside plesk (centos7), following in order :

    In your website Apache & nginx Settings, disable Proxy mode, Apply,
    Add to "Additional nginx directives" this one (2nd link) :

    location / {
    proxy_pass http://localhost:5000;
    proxy_http_version 1.1;
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection keep-alive;
    proxy_set_header Host $host;
    proxy_cache_bypass $http_upgrade;

    Change those lines in "kestrel-hellomvc.service" while you follow the 2nd link :
    ExecStart=/usr/bin/dotnet /var/www/vhosts/<your_site>/httpdocs/<your_app>.dll

    Upload the published output to httpdocs.

    I had a little problem getting this to work "correctly", because of nginx or apache, I dunno, but unticking "Serve static files directly by nginx ", apply, and re-ticking did the job.



Feedback and Knowledge Base