<p dir="ltr">On 17 Mar 2014 22:06, "Petter Reinholdtsen" <<a href="mailto:pere@hungry.com">pere@hungry.com</a>> wrote:<br>
><br>
><br>
> [Alberto Fuentes]<br>
> > echo "fb ip" fbx >>/etc/hosts<br>
> ><br>
> > then navigate to fbx<br>
><br>
> You are right. This actually work. When I visit<br>
> http://<eth0-ip-on-freedombox/, I get the redirect to 403 Forbidden. If<br>
> I add fbx to /etc/hosts on my local machine and then access <a href="http://fbx/">http://fbx/</a>,<br>
> I get JWChat.<br>
><br>
> This do not seem like a good idea. I expected both URLs to work the<br>
> same. Is there something we could change to get that behaviour?</p>
<p dir="ltr">I've not looked into what's going on with jwchat, but I've been looking at mDNS for the last couple of days, and I think it could be really useful for avoiding modification of the user's hosts file.</p>
<p dir="ltr">In short:</p>
<p dir="ltr">- set up the freedombox's hostname as normal<br>
- install avahi-daemon on it<br>
- point your desktop system (with libnss-mdns installed) at <a href="http://fbx.local/">http://fbx.local/</a> or similar.</p>
<p dir="ltr">Windows support needs more to get going - you can install Bonjour, which is Apache-licensed.</p>
<p dir="ltr">Tim<br>
</p>