unable to deploy .net core app on a shared linux hosting

Mohamed Cisse 1 Reputation point
2020-12-11T12:43:00.263+00:00

Hi,
.net core app is supposed to be a multi platform app.
For some reason no shared Linux hosting (like a2hosting.com) is allowing .net core app their linux shared hosting servers.

.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,141 questions
{count} votes

8 answers

Sort by: Most helpful
  1. Mohamed Cisse 1 Reputation point
    2022-06-05T13:52:11.4+00:00

    Hi
    I am using : https://www.a2hosting.com/
    They said they do not support .net core.
    Why the self contained does not work ?

    0 comments No comments

  2. Mohamed Cisse 1 Reputation point
    2022-06-05T14:15:15.047+00:00

    A2hosting just sent this :
    We would like to explain that .NET Core is meant to be used on Windows hosting plans that we, unfortunately, do not offer at this time. Since your current Turbo Boost Web Hosting plan is Linux-based, .NET Core is not supported on it.

    However, there is an option of getting an Unmanaged VPS with Linux and then configuring .NET Core to work on it. You can see the available Unmanaged VPS plans here:

    https://www.a2hosting.com/vps-hosting/unmanaged

    0 comments No comments

  3. Bruce (SqlWork.com) 61,731 Reputation points
    2022-06-05T16:10:27.487+00:00

    Linux shared hosting typically only supports cgi languages like php and python. This allows hosting WordPress, Drupal and Joomla the most common CMS packages.

    Hosting application frameworks like Java tomcat, node and .asp.net core requires the web server reverse proxy to the application. This requires additional infrastructure that most shared hosting does not provide.

    Look for shared hosting that supports node (which uses the hosting model as .net) , or docker containers.

    Both AWS and Azure host asp.net core on Linux via docker containers. With Azure Linux hosting costs less than Windows hosting.

    Note: you could probably run self contained .net core console apps as cgi programs, but this would not support asp.net.

    0 comments No comments