Overview
This guide covers deploying .NET 8 applications to your Plesk Windows hosting environment using various methods.
Method 1: Web Deploy (Recommended)
Step 1: Get Publishing Profile
- Log in to Plesk control panel
- Go to Websites & Domains → your domain
- Click Web Deploy Publishing Settings
- Download the publishing profile (.publishsettings file)
Step 2: Publish from Visual Studio
- Right-click your project → Publish
- Select Import Profile
- Import the .publishsettings file
- Click Publish
Method 2: FTP Deployment
Step 1: Publish Locally
dotnet publish -c Release -o ./publish
Step 2: Upload via FTP
- Connect to your domain via FTP (credentials in Plesk)
- Navigate to httpdocs folder
- Upload all files from the publish folder
Method 3: File Manager Upload
- Create a ZIP of your publish folder
- In Plesk, go to Files
- Navigate to httpdocs
- Upload and extract the ZIP file
Configuring .NET Core in Plesk
- Go to Websites & Domains → your domain
- Click Hosting Settings
- Under .NET Core, set:
- Application Root: / (or your app subfolder)
- Application Startup File: YourApp.dll
- .NET Core Version: Select 8.0.x
- Click OK
Verify Deployment
After deploying, browse to your domain. If you see errors, check:
- Troubleshooting .NET 8 Application Errors article
- stdout logs in Plesk for detailed error messages