Where to place index.html file

i want to publish website and i set up every thing like site content under /var/www/htdocs with link from share folder and also added index.html file under this folder /var/www/htdocs, but it is giving me error forbidden 403. So there is any way i cal solve this issue.

Officially running your own website on a single bay My Cloud IS NOT supported.

Unofficially it “might” be possible to run web pages or a web site from the My Cloud. See the following discussions that almost exclusively deal with the older first generation v3.x/v4.x My Cloud units:

https://community.wd.com/t/host-web-site-on-mycloud/161116

https://community.wd.com/t/app-webhosting-for-firmware-v4-10-2015/94892

https://community.wd.com/t/host-a-dynamic-website/96553

https://community.wd.com/t/how-can-i-host-my-website-on-wd-my-cloud/95776

https://community.wd.com/t/hosting-a-website-on-wd-my-cloud/94766

https://community.wd.com/t/repository-with-software-worked-on-v4-firmware/94532

https://community.wd.com/t/clean-os-debian-openmediavault-and-other-firmwares/93714/1055