Publishing an asp.net core web application on linux ec2 instance

ChamPer 1 Reputation point
2022-11-21T12:09:14.663+00:00

I have followed the steps mentioned in the following article published by Microsoft.

https://learn.microsoft.com/en-us/aspnet/core/host-and-deploy/linux-apache?view=aspnetcore-7.0

I am bit new to asp.net core and publishing web apps in Linux environments.

Even though I followed the above article, once I finished everything and when I started the web app using "sudo systemctl start kestrel-helloapp.service" and check the status of the app status using the "sudo systemctl status kestrel-helloapp.service" command I receive error code 203.

I have published my through AWS CodePipeline, to /var/www/html folder. And I can see all the files are published successfully to that folder.

I'm not sure what I am doing wrong in here because when I navigate to the load balancers dns name, I only see the Apache test page, not the web application home page.

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,157 questions
{count} votes