Hacker News new | ask | show | jobs
by dchest 5302 days ago
How do you change your hostname in iOS?
2 comments

In itunes, just plug in your phone, and on the left navbar under devices, click the name and change it.

Make sure to sync it afterwards

It changes the name of the device that I see in iTunes in addition to hostname, isn't it?
Or, if on iOS 5, just go into Settings > About and change it in there.
Apple -> System Preferences -> Sharing

To confirm it kicked in, open Applications -> Utilities -> Terminal and type 'hostname'. This is what anyone else on the same network sees you as. You'll also see your machine on other Macs in Finder under the 'Devices' sidebar.

(the whole story surrounding hostnames is moderately more complicated than this, but the Sharing panel on System Preferences is what informs the Bonjour local network name and that's good enough for 95% of user-facing things)

Edit: I misread, thought you were talking about OSX.