Parent vs Main domain issue?

What type of hardware are you using: Old laptop or computer
What YunoHost version are you running: 12.1.20
How are you able to access your server: The webadmin
SSH
Direct access via physical keyboard/screen

Describe your issue

bonjour à tous

j’avais configuré plusieurs sites de cette maniere

admin.toto.fr * Domaine principal activé / app par défaut aucune
photo.toto.fr app par défaut photo
video.toto.fr app par défaut video

j’accedais donc à yunohost via le domaine principal admin.toto.fr

j’ai voulu “organiser” les noms de domaine et j’ai ajouté le domaine parent toto.fr

j’ai donc maintenant :

toto.fr vers app par défaut lambda
admin.toto.fr * Domaine principal activé / app par défaut aucune
photo.toto.fr app par défaut photo
video.toto.fr app par défaut video

sauf que maintenant, lorsque je vais sur admin.toto.fr, je suis automatiquement rediriger vers toto.fr avec la page de login yunohost

est-ce qu’il n’y aurait pas un “conflit” entre le domaine parent et le domaine principal ?

je souhaite que le domaine principale soit admin.toto.fr pour la partie admin de yunohost

merci d’avance pour vos réponses.

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

Hello everyone,

I had configured several sites this way:

admin.toto.fr → Main domain enabled / default app: none
photo.toto.fr → photo app
video.toto.fr → video app

So I accessed Yunohost via the main domain admin.toto.fr.

I wanted to “organize” the domain names and added the parent domain toto.fr.

Now I have:

toto.fr → lambda app
admin.toto.fr → Main domain enabled / default app: none
photo.toto.fr → photo app
video.toto.fr → video app

But now, when I go to admin.toto.fr, I’m automatically redirected to toto.fr with a Yunohost login page.

Could there be a “conflict” between the parent domain and the main domain?

I want admin.toto.fr to remain the main domain for the Yunohost admin interface.

Thanks in advance for your answers.

Share relevant logs or error messages

no error message

Looks a bit like this issue which has been around for a while…

Sounds like it’s because there’s no app on it ? What happened before exactly when you tried to open this domain …?

I was being redirected to /yunohost/sso/login.
From there, I could access the portal with my applications and then go to /yunohost/admin/.

Would it be possible to add /yunohost/admin/ to the list of default applications, for example?

But what’s the actual difference with now except that you are redirected to the portal on toto.fr ? x_X (And then you can log in and access the webadmin too …)

There isn’t really any difference — if this is normal behavior, that’s fine with me.
It just feels a bit strange to set a main address that redirects to the parent domain.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.