Website adress not equal to domain i bought

My YunoHost server

Hardware: Raspberry Pi at home
YunoHost version: 11.2.4
I have access to my server : through the webadmin
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no
If your request is related to an app, specify its name and version: Grav 1.7.42.3~ynh1

Description of my issue

Hello,

I would like to set up a website on my main domain that I bought (domain.com). I have tried two CMSs so far: Ghost and Grav and in both cases the address of my website was not “domain.com” but “domain.com/website” when using Ghost and “domain.com/grav” when using Grav.

I assume the issue with the address is does not lie in the CMS but on the Yunohost side. So while first using Ghost I went to YH admin panel/applications/ghost and changed the acess URL for Ghost application: I deleted the “/website” so that only “https://domain.com” would remain. When doing this I lost access to my website and Yunohost admin site. When I rebooted my raspi the settings were reverted and I could acess my website again on “https://domain.com/website

Can some please explain how to set up domains and app settings so that my website URL will equal the domain?

Thanks,
Rastisan

should still be able to access YunoHost Admin at https://ip_address_not_domain/yunohost/admin/#/