Newbie OS X server question

Discussion in 'Mac OS X Server, Xserve, and Networking' started by aristocat, Feb 1, 2015.

  1. aristocat macrumors newbie

    Joined:
    Feb 1, 2015
    #1
    I’m using Server 4.0.3

    Okay let me clarify, I’m a new server user and love to meddle with apple products and now I’m stuck.

    I just want to add calendar, contacts,mail, profile manager and host websites plus owncloud.

    I have a domain name with godaddy. www.example.com

    I have a statc ip address 100.100.100.100

    My mac mini server at home is using the ipaddress 10.0.1.10 (Under Networks Ethernet 10.0.1.10)

    Now I set my host name on my server to my domain name www.example.com

    I have 6 services reachable at 100.100.100.100

    When I click on details, it shows.
    Status: enabled
    External IP address: 100.100.100.100
    Public host name: None ( darkened)
    (when I click on refresh it shows “this server’s hostname resolves to an ip address that does not match this server.)

    Under My DNS
    Status Set your network DNS settings to 100.100.100.100 to use this server

    Under Records
    Primary Zone: example.com
    Mail.example.com (machine) Zone: example.com/Hostname: Mail/Ipaddress 10.0.1.10
    Mail.example.com (mail exchanger) Zone: example.com/mail server: Mail.example.com/priority 10
    Ns1.example.com (machine) Zone: example.com/Hostname: ns1/Ipaddress 10.0.1.10
    Ns1.example.com (nameserver) Zone: example.com/nameserver: ns1.example.com
    Ns2.example.com (machine) Zone: example.com/Hostname: ns2/Ipaddress 10.0.1.10
    Ns2.example.com (nameserver) Zone: example.com/nameserver: ns2.example.com
    www.example.com (machine) Zone: example.com/Hostname: www/Ipaddress 10.0.1.10
    www.example.com (nameserver) Zone: example.com/nameserver: www.example.com

    Reverse zone 1.0.10.in-addr.arpa
    10.0.1.3 (reverse mapping) resolve ipaddress 10.0.1.10 /To: www.example.com
    Ns1.example.com (Nameserver) Zone 1.0.10.in-addr.apra/Nameserver:Ns1.example.com
    Ns2.example.com (Nameserver) Zone 1.0.10.in-addr.apra/Nameserver:Ns2.example.com


    Under my godaddy settings

    Auto-Renew Standard: Off
    Extended: Off
    Nameservers NS69.DOMAINCONTROL.COM
    NS70.DOMAINCONTROL.COM
    Forwarding Domain: Off
    DS Records 0 DS records created
    Host Names 3 hostnames created
    NS1 100.100.100.100
    NS2 100.100.100.100
    WWW 100.100.100.100

    Under Zone file editor
    A(Host)
    @ Points to 100.100.100.100
    Ns1 Points to 100.100.100.100
    Ns2 Points to 100.100.100.100


    Cname
    Email points to email.secureserver.net
    ftp ponts to @
    www points to @



    Problem is I can’t get anything to work smoothly.

    I also do not understand a lot of internet jargons.

    I printed out almost all info I can find and still stuck.

    I know I've gone wrong somewhere but I do not know where? I google all the result and still stuck! Please help.

    i posted in apple discussion but no replies and hence decided to post here.
     
  2. dyt1983, Feb 2, 2015
    Last edited: Jun 1, 2015

    dyt1983 macrumors 65816

    Joined:
    May 6, 2014
    Location:
    USA USA USA
    #2
    edit: To remove personally identifying info not relevant to the conversation.
     
  3. aristocat, Feb 3, 2015
    Last edited: Feb 3, 2015

    aristocat thread starter macrumors newbie

    Joined:
    Feb 1, 2015
    #3
    Hi, thanks for the reply.

    I feel way over my head yes, as i'm confused on how to setup my airport, my mac mini and godaddy.

    I'm fine to use any dns so long my mac mini works.

    I have a static ip registered with my ISP i have configured on my airport utility already. My mac uses a private ip

    I am not sure weather my address is being forwarded or not.

    I tried google the LMAP and MAMP but i feel even more confused.

    Yes my static address is not 100.100.100.100 as i am not sure weather to expose my static IP. (that is how novice i am)

    I just wanna have a smooth webpage so i can log in to my server from outside and managed my devices, file sharing, VPN, websites and wiki for my small business. In addition, my router has clients logging in during the day.

    Really appreciate if i can have guidance. I have been reading forums after forums for the past few days.
     
  4. sevoneone macrumors 6502

    Joined:
    May 16, 2010
    #4
    Sounds like you're definitely having DNS issues. Getting your DNS setup correctly is probably the most important and difficult task in setting up a server. I would definitely spend some time learning up on the basics of DNS and how it works so you have a better idea of what it is you are setting up.

    On the Mini, you will want to make sure that the DNS service is enabled in Server.app and that it has a entry for your domain that points to it's private IP address. In Network Settings in System Preferences, make sure that you're set to use 127.0.0.1 as your primary DNS server. This ensures the Mini can resolve its own domain name.

    On your Airport, you will want to configure DHCP so that it assigns the private IP address of your MacMini as DNS Server for any machines on your local network. This will allow machines on your local network to reach services on your mini locally via it's domain name.

    Also on your Airport, enable Default Host (called DMZ on other routers) and point it to the Private IP address of your Mini. This will forward all inbound internet traffic to your Mini and allow users to access services from the internet. Alternatively, you could enable forwarding only for the services you use. This is more advanced, but also a little more secure. If you have a modern Airport Extreme, Server.app should configure these forwards for you.

    Last, change your DNS settings on GoDaddy back to using their Name Servers and create an A record for '@' (the root domain) and point it at your static IP address from your ISP.

    That's how I would set it up. There are countless resources out there with information that might be able to help you. I really this guy's series of videos: https://www.youtube.com/watch?v=eA6rfepKWUs
     
  5. andeify macrumors 6502

    andeify

    Joined:
    Jun 10, 2012
    Location:
    UK
    #5
    That chap on youtube, Todd Olthoff (linked above) is very thorough, his videos helped me.
     
  6. peroddmund macrumors newbie

    Joined:
    Mar 24, 2012
    #6
    I have been using Todds videos on youtube to help me setup my office server since 2012, they are awesome!
     
  7. mvmanolov macrumors 6502a

    Joined:
    Aug 27, 2013

Share This Page