I created my first site in 2020. It was a blog site made with WordPress. It was my first experience so it was all trial and error. The blog is closed now but I'll make an effort to revive it in the future.
When I created my first self hosted website I did not have any skills, knowledge and experience. I started with zero skills, knowledge and experience. I learned through trial and error. I started by watching and reading tutorials.