danielhok
07/26/2023, 8:34 PMoalberto
07/26/2023, 9:06 PMoalberto
07/26/2023, 9:06 PMSebastiaan
07/27/2023, 8:24 AMdotnet MyProject.dll
- not with dotnet run
. The dll there is whatever your website project is called, for example, mine is called Cultiv.csproj
and the output dll after dotnet publish -c Release
is Cultiv.dll
, so I'd start the site with dotnet Cultiv.dll
.
Note that you'll get 0 output on the CLI after that, the site is running on port 5000 by default, so wget https://localhost:5000
is a way to test it works.
Note: I've not actually properly hosted a site on Linux before, so I don't quite know how to proceed from there. The above video seems a bit convoluted, but is probably a good way to do it, but I have not attempted to learn nginx yet 😅
My main, biggest, worry would be: okay, you've set up a certificate with Let's encrypt, cool, that will work for 6 months.. and then what! Cert will expire, how to renew it, can that be automated, can I get a heads up if that fails, etc.danielhok
07/27/2023, 8:35 AMSebastiaan
07/27/2023, 8:39 AMdanielhok
07/27/2023, 8:42 AMSebastiaan
07/27/2023, 8:45 AMdanielhok
07/27/2023, 8:48 AMSebastiaan
07/27/2023, 8:59 AMSebastiaan
07/27/2023, 9:00 AMdanielhok
07/27/2023, 9:01 AMSebastiaan
07/27/2023, 9:01 AMoalberto
07/27/2023, 9:47 AMoalberto
07/27/2023, 9:48 AMdanielhok
07/27/2023, 10:21 AMoalberto
07/27/2023, 10:38 AMSebastiaan
07/27/2023, 10:53 AMdanielhok
07/27/2023, 11:51 AMdanielhok
07/27/2023, 11:56 AMoalberto
07/27/2023, 12:02 PMdanielhok
07/27/2023, 12:02 PMdanielhok
07/27/2023, 12:04 PMoalberto
07/27/2023, 12:11 PMdanielhok
07/27/2023, 12:11 PMdanielhok
07/27/2023, 12:12 PMdanielhok
07/27/2023, 12:13 PMdanielhok
07/27/2023, 12:49 PMoalberto
07/27/2023, 12:49 PMoalberto
07/27/2023, 12:50 PMdanielhok
07/27/2023, 12:51 PMoalberto
07/27/2023, 12:52 PM