skip to Main Content

I have used two different host services with Plesk Onyx 17.8.11, but still I am not able to run my application on the hosts.

So here are the things I have done so far:

  • I published using self-contained winx64 mode and updated web.config to hostingModel="InProcess".. still, I was getting 500 – Internal error.
  • I tried to turn on logging through web.config stdoutLogEnabled="true" and no files were created in that directory and I couldn’t figure out why!
  • I changed modules="AspNetCoreModuleV2" to modules="AspNetCoreModule" based on some recommendations (as a dirty trick) and then I got HTTP Error 502.5 – Process Failure.
  • I tried both methods of web deploy and folder deploy and then transferring to the server through FileZilla.

As far as I understood there isn’t any need to install the Microsoft .NET bundle as I’m using the self-contained method.

3

Answers


  1. Chosen as BEST ANSWER

    I want to give an update. I went through multiple websites, including GoDaddy. Their shared hosting Plesk Onyx 17.8.11 supports up to ASP.NET 2.0 version and if you want to get a higher version you need to use their VPS or dedicated server's plans which costs a fortune...

    Does GoDaddy's shared Windows hosting plan support ASP.NET Core?


  2. This help document explains Plesk’s ASP.NET Core support. ASP.NET Core support in Plesk. If you expect to host anything in 3.1, you need an alternative solution.

    There are other places to host ASP.NET Core 3.1 applications for a decent price, however. For example, AspHostPortal seems to have a lot of good deals and is recommended by Microsoft.
    Comparison of All Windows Shared Hosting Plans

    You can also use Azure, although that can get expensive if you want SSL.

    If you are still looking for alternative solutions, here are some resources that might be helpful.

    A similar Reddit question: Hosting ASP.NET 3.1 on GoDaddy

    A tutorial with several options:
    Best fast & cheap Windows shared hosting For ASP.NET Core

    Login or Signup to reply.
  3. I found a non-official solution to this question and running ASP.NET Core 3.1 on the GoDaddy Windows web hosting.

    The solution as follow:

    1. Use self-contained to build your project.

    2. Edit web.config and you just need to change WebApplication1.dll to your DLL file name on this example.

      <?xml version="1.0" encoding="utf-8"?>
      <configuration>
        <location path="." inheritInChildApplications="false">
          <system.webServer>
            <handlers>
              <add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModule" resourceType="Unspecified" />
            </handlers>
            <aspNetCore processPath="dotnet" arguments=".WebApplication1.dll" stdoutLogEnabled="true" stdoutLogFile=".logsstdout" hostingModel="inprocess" />
          </system.webServer>
        </location>
      </configuration>
      
    3. Upload your project files to GoDaddy.

    4. Access your URL and you can see it’s successfully running ASP.NET Core 3.1.

    Reference: [ASP.NET Core] Godaddy .NET Core 3.1?

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search