Need Help with setting up xserve

Discussion in 'Mac OS X Server, Xserve, and Networking' started by swap1712, Nov 20, 2008.

  1. swap1712 macrumors newbie

    Joined:
    Nov 20, 2008
    #1
    Hi,
    I am completely new to mac and networking stuff...for advanced users, it may be a stupid question but I'm expecting some basic guidance:
    Here's a deal: I'm supposed to set up file services for some department in some college. I have a static ip associated with my server and I have named my server as "xyz-new". Suppose my domain is domainname.edu.
    I want that my users should be able to access the server using website like names such as xyz-new.domainname.edu.
    e.g. I want users to use ssh username@xyz-new.domainname.edu
    instead of ssh username@<ip address> or ssh username@xyz-new.local
    How do I do that?
    I'll appreciate any kind of help inthis regard:)
     
  2. belvdr macrumors 603

    Joined:
    Aug 15, 2005
    #2
    You need to have xyz-new added to your internal DNS servers' domainname.edu stub file. Reload DNS and you're golden.
     
  3. andrewag macrumors 6502

    Joined:
    Jan 11, 2005
    Location:
    Australia
    #3
    Depending on how the network your clients are connected to you will need to add a DNS entry to the DNS server that the clients point to (assuming this is a private network).
     
  4. belvdr macrumors 603

    Joined:
    Aug 15, 2005
    #4
    That's just what I stated hours ago. :confused: At any rate, even if it is a public network, it will still need to be added to the DNS servers authoritative for the domainname.edu zone.
     
  5. swap1712 thread starter macrumors newbie

    Joined:
    Nov 20, 2008
    #5
    Thanks, one more query

    I suppose we can change the hostname with super user privileges easily. I'm trying to rename my server to "xyz-new" which initially was "xyz". I can do i while the server is turned on. But when I restart it the next day, the hostname is again changed to "xyz". I read "changeip" command is helpful in this regard, but I can hardly conceive anything from its man pages :)
    I'd again appreciate if someone throws light on it.
     
  6. belvdr macrumors 603

    Joined:
    Aug 15, 2005
    #6
    Think you change the name under Network Prefs.
     
  7. swap1712 thread starter macrumors newbie

    Joined:
    Nov 20, 2008
    #7
    thanks, one more query

    can I have some more details on that?
     
  8. belvdr macrumors 603

    Joined:
    Aug 15, 2005
    #8
  9. swap1712 thread starter macrumors newbie

    Joined:
    Nov 20, 2008
    #9
    Thanks... but no luck for my issue

    Hi again,
    You've been genorously helpful with my queries. But I'm afraid that the above solution was hardly helpful and I'd tried it previously. The problem actually is little bit complicated than what it seems to be.
    My system preferences>sharing... show the name of the computer which I actually want, but whenever I get the hostname from terminal it shows the same old name. I believe the computer name that's shown in my system preferences is my local machine name, but the DHCP identifies my machine with my static ip which is registered with him with the old name of my computer (xyz) and from there I'm getting the old hostname to appear on my terminal. I don't know whether it really makes sense, but I'm pissed of with this problem.:mad:
     
  10. belvdr macrumors 603

    Joined:
    Aug 15, 2005
    #10
    That's it. Your machine is doing a reverse DNS lookup on your IP, and if it has xyz in the reverse DNS record, it's picking that up.
     
  11. swap1712 thread starter macrumors newbie

    Joined:
    Nov 20, 2008
    #11
    Thanks... a bit more

    :confused:
    But how do I change this mapping ? (I mean the name of my computer so that my server should be identified by that name)
    One more thing..i just observed...
    When I do
    changeip -checkhostname
    the system says "The DNS hostname is not available, please repair DNS and re-reun this tool":(
    I donno wat it is!!
     
  12. Jupeman macrumors member

    Joined:
    Jan 13, 2008
    #12
    I'm going to be no help, but since misery loves company I will say that you are asking good questions. I've wrestled with the same thing and never really fixed it. I always ended up reinstalling the OS. Folks will ultimately recommend a UNIX command to change the name, but once I tried this everything went haywire.
     
  13. belvdr macrumors 603

    Joined:
    Aug 15, 2005
    #13
    Check your IP. Then do a:

    Code:
    nslookup <your IP>
    and see what is returned.
     
  14. swap1712 thread starter macrumors newbie

    Joined:
    Nov 20, 2008
    #14
    nslookup result

    When I do the following
    :apple:nslookup xxx.yyy.zz.108

    The result is:
    Server: ABC.191.200.1
    Address: ABC.191.200.1#53
    **Server can't find 108.zz.yyy.xxx.in-addr.arpa: NXDOMAIN
    :confused:
     

Share This Page