No connection accepted on http / https after fresh installation on Ubuntu 22.04 LTS

My guess is that your DNS is wrong, or was wrong, and you tried enough times that you got rate limited. The easy solutions are to wait a week or to choose a different subdomain name.

Since you don’t share your hostname, we can’t help know if DNS is working.