You need to update the server first sudo apt update sudo apt upgrade After that, install nginx sudo apt install nginx Install Dotnet SDK (in this post, I will be using dotnet 7.0) wget https://packages.microsoft.com/config/ubuntu/20.04 /packages-mi...