It’s possible that existing bits of your apache configuration (including .htaccess files, if you use any) could interfere with the redirect that certbot sets up when you select the “Secure” option. Could you share your apache configuration, especially your vhost files?
There’s a line with ServerName p in 000-default-le-ssl.conf, and one with RewriteCond %{SERVER_NAME} =p in 000-default.conf. Is this some weird copy&paste error, or does it actually look like that in the file?
I suspect this should be ServerName precode.eu and RewriteCond %{SERVER_NAME} =precode.eu. I’m not entirely sure how that would have happened, though. I assume the files were not modified manually after you used certbot?
Either way, changing the lines and restarting apache should fix the redirect.