yeah, but if i wanna host own website is the old pc gonna be secure enough?
You need a server. As you said either a VPS or an old computer. Where you install nginx and certbot and put the site. https://landchad.net
Discussion
Yup. It is not the hardware that is secure enough or not (most of the times). It is the software.