/ English version - Français ci dessous.
My YunoHost server
Hardware: Old laptop or computer.
YunoHost version: 3.7.1.1
I have access to my server : SSH, webadmin, direct acces.
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no
For more information i have a Bbox, my YunoHost IP is 192.168.1.1 and it’s in DMZ.
Description of my issue
Since one year I have my own YunoHost work perfectly on my network. I never change anything in /etc/hosts or anything like that. It was plug and play.
Since yesterday i have some bad issue with my YunoHost.
I re install it normally and change nothing like the last time i did it.
Problem : I haven’t acces when i’m in “home”. I only have acces in 4G.
And when i broswer 192.168.1.1 i find my admin portal.
But when i try to ssh 192.168.1.1 i obtain this
Could not resolve hostname 192.168.1.1 : No adress associated with hostname.
Find at the end the content of my /etc/hosts files.
Modèle de message (français)
Mon serveur YunoHost
Matériel: Vieil ordinateur.
Version de YunoHost: 3.7.1.1
J’ai accès à mon serveur : SSH, webadmin, accès direct.
Plus d’information j’ai une Bbox, mon serveur a l’IP 192.168.1.1 et j’ai régler son IP en DMZ.
Description du problème
Depuis 1 an, j’ai mon serveur YunoHost sur ma bbox. Tout marchait normalement. Je n’ai jamais changer quoi que ce soit, ni touché le fichier /etc/hosts.
Hier j’ai du réinstaller mon serveur. J’ai fais exactement comme à chaque fois.Sauf que maintenant j’ai un problème.
Quand je suis sur mon Wifi domestique, je ne peux ni joindre mon serveur, ni synchroniser mon client Nextcloud.
Quand je tape l’adresse 192.168.1.1 j’arrive pour sur la webadmin.
Et en SSH depuis le wifi j’obtiens cela
Could not resolve hostname 192.168.1.1 : No adress associated with hostname.
Pourtant lorsque je bascule en 4G tout marche parfaitement.
Voici ci dessous le contenu du fichier /etc/hosts original avant modification.
127.0.0.1 localhost
127.0.1.1 YunoHost.lan YunoHostThe following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
Merci pour votre aide.
Thanks for your help.
I try to put bellow : 192.168.1.1 mondomaine.tld but i seems don’t work.