Due to some maintenance of the provider today the Internet will be down. Thanks to HASS everything works locally. When I connect locally to my HASS host I can connect to it browsing to 192.168.1.10:8123, but does not work if I borwse to https://xxx.duckdns.org.
Is there a way to make it work also with the address xxxx.duckdns.org, when connected to the local WIFI?
p.s. currently I am using HASSIO with the duckdns addon and nginx proxy manager addon
Currently my need is the iphone and android phone of the members of the family: I put to all of them as browser shortcut https://xxx.duckdns.org, and works perfectly but even if at home in WiFi is not working when internet is down.
Can I do this “lmhosts” also in android and iphone smartphones?
The guide is for non-rooted phones, I pulled it but have not pushed it yet
The non-root method
For this method, you will require a computer with the Android Debug Bridge (or ADB) installed on it. If you don’t already have ADB, you can grab it from Google’s developer resource page. Install ADB, and then run a command prompt in ADB’s installation directory.
Connect your device to your computer via USB (make sure you’ve already enabled USB debugging in the developer settings). Run the command adb devices
to ensure your device is connected, and that ADB is reading and interacting with your device appropriately.
Download your hosts file from your device by issuing the command adb pull /system/etc/hosts F:\hosts
(replace F:\ with the directory you wish to copy your hosts file to)
This will copy your hosts file to your computer, to allow you to edit it in Notepad.
Now, simply navigate to the directory which you copied the hosts file to, and edit away! Remember, once you’re done you need to push the file back to your device. Issue the command: adb push F:\hosts /system/etc/
(Again, replace F:\ with the directory where you’re storing your hosts file)
and you’re good to go.
I am very bad at solving issues related to netwoking
Can I make changes from the pihole GUI (where?)? Because its pi-hole in HASSIO so I can’t change pihole configuration file (in the sense I do not know where they are).
Or maybe in the HASSIO addon config? I tried but is not working (tried both virtual_host and putting host
I don’t know the pihole add-on, because I don’t use hassio, but it should function just like normal pihole and it uses dnsmasq or something similar to host DNS entries. Your config should actually be in your addons directory, but using the mapping in the config interface should work the same.
If you are using certs in your HA config, you will want to use https.