![]() Now, we are going to create a service file to run the ASP.NET Core application. Create a new folder named sample and then move the published files to it.Open the folder /var/www in the Linux server. Then, connect to the Linux Server using FileZilla to move the published files.Publish the ASP.NET Core application you want to host to a local folder.Move the application files to the Linux serverįollow these steps to move your ASP.NET Core application files to the Linux server. Now, restart the Apache server using the following command:.After installing the Apache Server, install the following required modules:.Let’s install the Apache server in the Linux machine using the following command:.Sudo apt-get install -y aspnetcore-runtime-3.1Īpache server will act as a reverse proxy and pass the request to the Kestrel Server from the internet. Sudo apt-get install -y apt-transport-https
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
March 2023
Categories |