Solved

Change FQDN in Snow Leopard Server

Posted on 2010-09-21
5
789 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 500 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

Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

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

Suggested Solutions

SUMMARY Enterprise backup in a heterogeneous network is a subject full of complications and restrictions. Issues such as filename & path structure, attributes and extended metadata always tend to complicate the subject to the extent where either …
There is a security feature on iOS devices that is nearly impenetrable when it has been activated.  This article will provide some possible solutions as well as necessary steps to take to ensure you do not end up with a locked device.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

839 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