Setting up an ASP.NET Core website in Plesk can be completed with a few simple steps. You can have your website up and running in no time. In this article, we’ll walk you through the process of setting up an ASP.NET Core website in Plesk, so you can start building and deploying your applications with ease.
Step 1: Create a new website in Plesk
Log in to your Plesk hosting account, and navigate to the Websites & Domains menu. From there, you can click the “Create Website” button, and follow the on-screen wizard to create your new website, you can select the "Blank Website" option or click on the ".NET site" option. For the purpose of this article we'll assume you selected blank website.
Step 2: Configure the ASP.NET Core runtime for your website
Once you have created your new website in Plesk, you need to configure the ASP.NET Core runtime for your website. This can be done by using the .NET Toolkit extension in Plesk.
To configure the ASP.NET Core runtime, simply log in to your Plesk hosting account and navigate to the Websites & Domains menu. From there, you can select your website, and click on the “.NET Toolkit” link. From there, you can configure the ASP.NET Core runtime for your website, including setting up the environment variables, viewing logs, and managing the installed versions of the ASP.NET Core runtime.
Step 4: Deploy your ASP.NET Core application
Once you have configured the ASP.NET Core runtime for your website, you can deploy your ASP.NET Core application to your website. To do this, you can use the file manager in Plesk to upload your files or you will need to use FTP or SFTP, and upload your ASP.NET Core application to the appropriate location on the server.
Step 5: Test your ASP.NET Core website
Finally, once you have deployed your ASP.NET Core application, you can test your website to make sure it is working as expected. To do this, simply navigate to your website in a web browser, and verify that it is up and running.
In conclusion, setting up an ASP.NET Core website in Plesk is a straightforward process that can be completed in just a few simple steps. With the .NET Toolkit extension in Plesk, you can easily manage and configure your ASP.NET Core runtime, and deploy your ASP.NET Core applications with ease.