Installatie mislukt op verse Debian 12 installatie

This is your problem.

it appears that something is keeping let’s encrypt from vising the URL that you have changed. Is something blocking port 80? Do you have cloudflare with orange cloud?