Homepage on root not accessible

What app is this about, and its version: Grav, 1.7.49.5 and WordPress 6.9.1
What YunoHost version are you running: 12.1.39
What type of hardware are you using: VPS bought online

Describe your issue

Hello everyone,

I would like to make a website publicly accessible under my main domain (mydomain.com).

I specified this when installing Grav; or rather, I installed Grav in the root directory.

Now, when I try to access the website, I am always redirected to https://mydomain.com/yunohost/sso/ and cannot view the page.

For testing purposes, I have uninstalled Grav and the installed Wordpress, since I am more familiar with it. No luck there also. WordPress doesn’t show up after installing in the root of mydomain.com/

What do I need to change so that I can access any homepage under mydomain.com/ or www.mydomain.com? Is it possible that incorrect DNS settings are causing this behavior?

Edit:

When I am logged into Yunohost and visit the domain https://mydomain.com/yunohost, I am taken to the Grav website (not the admin panel). If I am not logged in, I am redirected to the Yunohost login page.

Are the permissions set to “visitors” in the webadmin?

Yes, permissions for visitors are set. Both under Groups and Permissions, as well as under Apps → Grav; see screenshots:

ok, I have uninstalled Grav and tested with WordPress, since I am more familiar with that. The same behaviour here. It is not possible to reach the homepage on the root folder mydomain.com/

So I guess, this is not Grav or WP related and is placed in the wrong section here on the forum. It should be on general support for Yunohost → I moved it to the main section.

Any further inputs, where I can try to fix this behaviour?

Another update: I tried to set the app (in this case, currently WordPress) as the default in the settings under Domains → maindomain. No app is set there. But that doesn’t work; I can’t enter any app as the default there. When I click Save, Yunohost tries to make the setting, but aborts with the message “The app ‘wordpress’ cannot be set as the default for the domain ‘mydomain.com’. It is already used by ‘wordpress’.”

There is not much useful information displayed under “Logs” either:

args:
  domain: maindomain.tld
  key: feature
  value: null
ended_at: 2026-02-27 20:37:25.156538
error: "Die App \"wordpress\" kann nicht als Standard f\xFCr die Domain \"maindomain.tld\"\
  \ festgelegt werden. Sie wird bereits von \"wordpress\" verwendet"
interface: api
operation: domain_config_set
parent: null
related_to:
- - domain
  - maindomain.tld
started_at: 2026-02-27 20:37:24.131538
started_by: ******
success: false
yunohost_version: 12.1.39

============


I’m at my wit’s end with my ideas and my knowledge; I have no idea why I can’t make an app available under / (root) and why it always redirects to mydomain.com/yunohost/sso…