Skip navigation

Best LAN Setup?

3513 Views 7 Replies Latest reply: Nov 21, 2012 11:53 PM by redshift82r RSS
BioRich Level 1 Level 1 (65 points)
Currently Being Moderated
Nov 21, 2012 7:38 AM

Hi folks.


Well, I'm upgrading to Mountain Lion Server.  Still using Snow Leopard Server until I get the new Mini Server.  Excited. 


Reason I'm moving is that I'm having DNS issues with the current system, and the technologies have changed where I can't edit things like hosts files on my iPad. 


So I have an opportunity to change how my whole LAN is set up.  I think I am going to go with subdomain machine names, and for my web development, apache directives for domains.


Is there a better way to do this?  I'm having problems having my iPad find a Virtual Host on my workstation.  I have static internal IP's, but that doesn't provide a targeted realm on my workstation.  I also park multiple domains on my static IP on the outside. 


Any insight? 



Mac Pro, OS X Mountain Lion (10.8.2), Hypercard UG!
  • redshift82r Level 2 Level 2 (325 points)
    Currently Being Moderated
    Nov 21, 2012 9:25 PM (in response to BioRich)

    Well, heres my two cents worth with an explanation up front.


    ADSL2+ with Dynamic IP Address coming into a Billion 7800N Wireless ADSL2+ Modem / Router


    Mac Pro  , 2 iMac's, MacBook, 2 x windows laptops ( school supplied for kids!), 1 Ubuntu laptop, 2 iPads, 3 Ipod Touches, 3 iPhones and other ancillary stuff!


    1 Ethernet Bridge

    1 Powerline Bridge

    1 Netgear Wireless Router providing wireless lan

    1 TimeCapsule providing wireless lan

    1 Netgear NAS

    2 x Powerware 5110 UPS


    Mac Pro runs

    OS X Server with 3 public domains running Mail / Web / Wiki / DNS / Address Book / Calendar / OD / Profile Manager and two Minecraft Servers for my son ( !)


    Web sites served on OS X

    1st domain -  OSSEC ( via webapp and directory alias) , Webmail ( via webapp and directory alias) , Wiki, 

    2nd domain - Drupal CMS, SugarCRM CE,  Drupal Dev site.

    3rd domain - HTML site

    1st Domain also has webapps that point to the Ubuntu VM and redirect etc as well as an R Server (RStudio) on one of the iMac's and the Netgear NAS.



    Ubuntu Server running  under a VM on the OS X Server with separate tcp address

    1. Runs NetworkUPSTools for UPS Monitoring and auto shutdown of all equipment  (problem with the NUT USB driver for OS X, but works perfectly under Ubuntu)  Has a html / CGI interface for graphical monitoring

    2. Runs OPENNMS and Cacti - also both addressable via http.


    DNS has 3 Zones with 1 nameserver and MX record per zone pointing to the OS X server + machine records for the iMacs and the Netgear NAS.


    Each Zone has an alias for any web site served by Web Sites in OS X Server


    OS X Server DNS serves all client requests in the house so that I dont need different setups for the 3G iPads and iPhones outside of the house.  (i.e. mail server address is a fqdn of the server) VNC apps work inside or outside the house with the same host address etc.


    Multiple webapps for apache redirects within the network for the above

    Here's an example of one of the webapps for proxy requests to a different machine ( actually the Ubuntu VM).

    It puts a dinky little Webapp selector within the Website tabs.




    <?xml version="1.0" encoding="UTF-8"?>

    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "">

    <plist version="1.0">































    Hope that helps.

  • redshift82r Level 2 Level 2 (325 points)
    Currently Being Moderated
    Nov 21, 2012 10:08 PM (in response to BioRich)


    Do you have your iPad seeing realms inside your dev box? 



    Because I use the OS X Server as the DNS provider for the internal network, it works seamlessly as long as you have a machine record set up in the zone.  e.g.


    Primary Zone  1 -

    Nameserver Rec -

    Machine Rec -

    Machine Rec -

    Machine Rec -

    Machine Rec -


    My Network Setup for everything is:


    Manual IP address for those machinres that need a static IP

    DHCP and Router/Gateway



    Because I have apache proxy's setup (like my example) when I am connected to wifi with the iPad I can type


    http://moria.local ( DNS Lookup) or http://server.local/moria or (DNS Lookup + apache Proxy redirect)


    Outside the wifi network I type to get to or to get to





  • redshift82r Level 2 Level 2 (325 points)
    Currently Being Moderated
    Nov 21, 2012 10:31 PM (in response to BioRich)

    OK, back up a step - I was just editing my response re the VHost issue.


    So I also have multiple Vhosts running under OS X Server.


    ie. - SugarCRM - SugarCRM DEV - OSSEC Web Interface via cgi - Drupal CMS - Drupal CMS DEV - Roundcube


    Each one of these requires an alias entry in the Server DNS setup like:


    Domain -

    Host - crm

    Destination -



    Does that answer the question?

  • redshift82r Level 2 Level 2 (325 points)
    Currently Being Moderated
    Nov 21, 2012 11:53 PM (in response to BioRich)


More Like This

  • Retrieving data ...

Bookmarked By (0)


  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.