Solved

Change FQDN in Snow Leopard Server

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Create a default user profile for Mac OS X 10.7/10.8 Create a user account on OS X that will be a template for every other user of that computer. I usually call it “profile” and make it an administrator account for the time being. 1. Install a…
Short answer to this question: there is no effective WiFi manager in iOS devices as seen in Windows WiFi or Macbook OSx WiFi management, but this article will try and provide some amicable solutions to better suite your needs.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

760 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now