My website URL has a www in front of it, and when i make the one without www default, it does not load up

i had the option to use either https://www.oghenekaro.design/ or https://oghenekaro.design/ as my domain name. I want https://oghenekaro.design/ to show in my address bar when my site loads up. but instead it shows https://www.oghenekaro.design/.

Now if i go back to my hosting and i make https://oghenekaro.design/ default or i unpublish from https://www.oghenekaro.design/ then publish, My site fails to load up. says page not found!

my domain name was gotten from name cheap and i have set all web flow asked me to set.

Take a look at this article