Can't log in to Discourse. Not even the log in page loads

can you:

curl https://github.com/discourse/discourse/blob/main/README.md

(from your server’s prompt!)

?

If that doesn’t return without error, contact your VPS support team and ask them why you cannot connect to github over the internet.