What type of hardware are you using: VPS bought online What YunoHost version are you running: 12.1.40.1 How are you able to access your server: The webadmin
SSH Are you in a special context or did you perform specific tweaking on your YunoHost instance ?: no
Describe your issue
1
switching to a new domain and changing app urls atm. all ynh hosted + mail (office and personal).
wondering if the root domain or the vps one should be ynh’s “main domain”?
im also scratching my head over this sogo mail bug where i up to now hacked a sogo config file because aperantly my /etc/hostname is not correct.
it is still set to my old domain vps.domain.old but should be looking like this 127.0.0.1 sub.domain.old sub
so from what i read switching ynh main domain will also update the hostname file. hopefully to the corrct entry. maybe some1 has some input for this, can remember bad things from messing with that file
You have two request there, this would be better to open two topics since we will have to precise in each answer what 1 or 2 question our remark is related to.
For the point 1
wondering if the root domain or the vps one should be ynh’s “main domain”?
Here the we have to clarify what is a ‘main domain’.
in my configuration main domain has the the most generic one to be able to login with sso on all other domains. so i would state domain.org. but that’s up to you to decide what is your login landing page.
main domain documentation is spread on various installation, here this on debian :
according to above page :
“This will be the domain used by your server’s users to access the authentication portal. You can later add other domains, and change which one is the main domain if needed.”