Want to highlight a helpful answer? Upvote!

Did someone help you, or did an answer or User Tip resolve your issue? Upvote by selecting the upvote arrow. Your feedback helps others! Learn more about when to upvote >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

how do i make my dns name change from server.example.local to server.example.com

i want my server to go from server.example.local


to server.example.com


ho do i do it

Posted on Jan 7, 2012 3:36 PM

Reply
1 reply

Jan 17, 2012 12:40 PM in response to Karlplanken

Hi


Launch Terminal on the server and issue:


sudo scutil --set HostName server.example.com


Supply the administrator's password when prompted. There is no echo in Terminal so you won't see it being typed.


Regardless of which DNS Server(s) the server is referencing for correct hostname resolution (either itself or another server) the appropriate DNS Records (A) and (PTR) must be updated to reflect the change.


HTH?


Tony

how do i make my dns name change from server.example.local to server.example.com

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.