Macintosh and localhost / network addresses

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

Macintosh and localhost / network addresses

Post by Luke »

OK, on my machine as well as my boss who is in the same network (and on Windows XP), all we have to do to get to my machine is type http://lukedt/ but if you type this into my other boss's Mac, it tries to find http://www.lukedt.com which is obviously not what we want. How come it's doing this? Is there something I can do to make it resolve to my machine's localhost like it does on the Windows machines? I'm a network n00b. :(
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Windows is probably using NetBUI to transform the UNC you are supplying to an IP. Last I checked, Macs don't have NetBUI (by default.) Are you running a Samba server?
User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

Post by Luke »

nope
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

Does it doe it in all browsers?
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

feyd wrote:Windows is probably using NetBUI to transform the UNC you are supplying to an IP. Last I checked, Macs don't have NetBUI (by default.) Are you running a Samba server?
NetBIOS? Is that the same as what you're saying? Yes, OS X 10.4 does have this by default, you just need to set it up in System Preferences -> Sharing

However, the best thing to do is probably to just edit your /etc/hosts file dude :)
User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

Post by Luke »

d11wtq wrote:However, the best thing to do is probably to just edit your /etc/hosts file dude :)
alright, I'll take a look at that. Thanks.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Post Reply