Officially you cannot host a website on the single bay My Cloud devices.
Unofficially, you might be able to do so. Use the forum search feature, if you haven’t already, as there are several past discussions on modifying the My Cloud firmware (or replacing it entirely) to allow for expanded capabilities like web site hosting.
https://community.wd.com/search?q=host%20website%20category%3A105
https://community.wd.com/t/wd-mycloud-gen2-enable-apps-install-tab-apps/177885