Forgive my stupidity but I don’t see how my laptop / host OS is relevant. Maybe it’s because I explained my issue the wrong way?
What I am trying to achieve is to place a device into any given network. I want that device to be ‘found’ inside that given network using a hostname, in my case ‘shipr.local’. Users will be able to download an app on their phone (IOS or Android) and that app will connect to the device. I don’t want to worry about ip-addresses inside my android/ios-code. Each user will have different ip-addresses and subnet-ranges; I just want to use the ‘shipr.local’ hostname to communicate to my api (which the device will expose).
The reason I think my host OS is irrelevant is because the hostname-resolving (which is probably done by mDns? I don’t know I am a noob in that case) should work on any device; windows, linux, android or IOS. Although in reality I would only care about android or IOS. Also having bonjour installed or anything shouldnt be a prerequisite for this to work.
Right now I am testing this process using a windows laptop (it’s just my development laptop). I can reach my device via my browser via ‘http://shipr.local’. But only in a wired situation, as soon as I use my WIFI the browser responds with a 404. It does however show my website when I browse to my ip-address.