1
2
If you turn on Web Sharing in Mac OS X, you can hit your local server with http://machinename.local/
instead of just your local IP address like http://192.168.1.101/
. That's very convenient to me; I no longer have to remember IP addresses or worry about them changing.
This works great for me from other Apple devices connected to my network, e.g. iPhones and iPads. However, I can't seem to hit my server this way from a Windows machine. I was able to hit it fine with the IP address http://192.168.1.101/
, but not as http://machinename.local/
. I also tried just http://machinename/
, but that didn't work either.
Does anyone know how I can hit the server from Windows by its machine name rather than the IP address?
Hmm, interesting -- thanks for the tip! I wasn't aware this would do it. Is there any way to achieve this without installing software on the machine though, just out of curiosity? – Aseem Kishore – 2011-03-30T00:46:49.980
1Yes, this has worked very well in my experience. That package is the only way I know of to accomplish this. – Matt B. – 2011-03-30T02:21:12.447
1@Aseem Kishore - yes, you can do this without bonjour. The process is called DNS. You can also achieve the same effect by adding entries to your hosts file – skub – 2011-03-30T02:30:46.793