Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

mainstreetmark

macrumors 68020
Original poster
May 7, 2003
2,228
293
Saint Augustine, FL
In Prefs->Sharing, I have "mark" set as the computer name, which it has been for years.

Since Tiger, though, the actual computer name seems to want to reflect various other net connections, such as how I'm connected to the net.

[000-120-717:~] markyoun% hostname
000-120-717.area2.spcsdns.net

That used to say "mark.local", and I wish it still would be cause I have a lot of webprojects that specifically look for "mark.local" as the server and take various different actions based on that.

Any ideas?
 
Go to System Preferences -> Sharing Under "Computer Name:", which you have set to 'mark', click on "Edit.." and change that you what you want it to be.
 
It *is* "mark", and has been since Jaguar.

Here's the fine print under that:

Other computers on your local subnet can access your computer at mark.local

here's the stuff at the very bottom:


..as opposed to "http://mark.local/"


I think I'm just gonna see if I can set the hostname in the old fashioned way: 'hostname -s'
 
Yeah, no effect.

I did manage to get the terminal to say the hostname is mark.local, though, but I expect it to reset itself next time i re-connect to the internet.
 
Did you get the Terminal to list your hostname by putting commands in? You can use a file so that the command prompt always shows "mark.local". Don't remember the details though ... maybe someone can describe it better than I can ...
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.