[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Change FQDN in Snow Leopard Server

Posted on 2010-09-21
5
Medium Priority
?
802 Views
Last Modified: 2012-05-10
I need to change my server from

server-01.local to server-01.xxx.net

The IP address will stay the same, how do i do this ?

Cheers


Andrew
0
Comment
Question by:hcshosting
  • 3
  • 2
5 Comments
 
LVL 9

Expert Comment

by:heteronymous
ID: 33730351
The use of .local would appear to indicate that your server doesn't have working DNS and perhaps lacks a FQDN.

You can change the hostname via:

sudo changeip <ipaddress> <ipaddress> server-01.local to server-01.xxx.net

(man changeip for more info)

You should typically also follow that with:

sudo scutil --set HostName fqdn.tld

but OS X Server must must must have working DNS lookup (forward and reverse).
Make certain to have that in place. DNS needn't be run on the server itself but your existing DNS servers
will need to have forward and reverse entries for your OS X server's FQDN prior to changing the hostname.

On the server itself you can confirm this via:

dig server-01.xxx.net

where of course xxx is appropriately substituted to match the actual FQDN.
and then:

dig -x ip.address.of.server

where "ip.address.of.server" is of course its IP address.

Once you make the change with "changeip"
you should confirm with:

sudo changeip -checkhostname

0
 

Author Comment

by:hcshosting
ID: 33730688
Thanks heteronymous,

I'll give this a try, do we need to do any config with the open directory or will the above commands do this trick ?

Cheers
0
 
LVL 9

Expert Comment

by:heteronymous
ID: 33730837
If your server was already promoted to an Open Directory master, then Kerberos is most probably not working and your services will not be kerberized. But you haven't said enough about your infrastructure (AD involved or not, other relevant details)

In which case you should submit a different question (re: Kerberos). It's possible to rebuild but
if this isn't a production server (hope not, always avoid changing the hostname after putting a server into production, handle this with pre-planning) then you may be best off wiping & starting over. Rarely actually necessary at all with OS X (client or Server) but sometimes easiest when you're new to it.

.
0
 

Author Comment

by:hcshosting
ID: 33730869
This is a new Mac Mini Server running OS X Sever, we just followed the set-up and all was well. We just followed the set-up instructions and set-up a directory master.  This is the only server in our environment, with only 4 users set-up all accessing via MacBook Pro's.  

Hope this helps..

Cheers
0
 
LVL 9

Accepted Solution

by:
heteronymous earned 2000 total points
ID: 33731114
With 10.6 you'll want to use the Advanced install option, and do NOT configure any services during the installation (even though offered). That said, the installation will configure DNS for your server if it cannot lookup your assigned FQDN during the time of installation. So you probably went with something akin to Servername when asked. Instead when asked for the FQDN you'll want to go with that, presuming your server is NOT public facing or if it is, then you DO own the domain in question and have registered it & set that up appropriately.
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

iCloud Drive was introduced after iOS 8 was launched last year. This drive is Apple’s online storage device that lets users sync their files and access them from all their Apple devices.   There is a lot of data that is not automatically backed up…
Worried about if Apple can protect your documents, photos, and everything else that gets stored in iCloud? Read on to find out what Apple really uses to make things secure.
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question