Configure DNS on Snow Leopard Server for Web Hosting

Hi Everyone,
I put together an article on my blog about Snow Leopard DNS setup for web hosting. http://www.mkahn.com/?p=279
I'll be revising it over the next few weeks to make it more informative based around feedback. Let me know if you have any questions or trouble setting up DNS on Snow Leopard Server for web hosting.

Thanks for your replies. I realize I'm not making clear the way this network is configured . Also, the only services running on the Snow Leopard server are (at this time):
dhcpd - in the 10.136.31.x range;
dns - same as before;
planned to add are:
Open Directory (for network logins)
Software update;
Web (only on the 10.136.31.x Ethernet);
mySQL (localhost only - for moodle);
NAT is not set up on the Snow Leopard server itself. We have an outside router, a Cisco 2811. This router provides routing for both the public IP range, and the NAT range is configured in this router. The forwarding dns is located in LR and Fayetteville. So what I need is dns on Snow Leopard to forward outside queries to the state DNS servers, and resolve the local NAT IP only for Open Directory and a set of Snow Leopard clients.
Is this going to be possible?

Similar Messages

  • Configure DNS on Snow Leopard for private NAT with Open Directory

    I am needing to set up DNS on Snow Leopard server 10.6.4 for use with Snow Leopard clients only. On the server, I have two IPs, one public connections outside the network, and one private within the NAT range. DNS was not originally set up on the server, but Open Directory was (sort of). I've demoted the server from OD master to stand alone, but still can't get this to work.
    This server is only for setting up and using Open Directory + NetInstall services inside the network. In effect, it isn't serving web pages and isn't registered with our upstream DNS. What I am assigned to do is get Open Directory to set up user profiles and network shares and home directories. So, what I need is this -
    a basic DNS config I can do in Server Admin that will set up DNS to resolve to the local server NAT IP for Open Directory purposes;
    and provide DNS for outside the OS X server for the specified Snow Leopard clients.
    DHCP is running (but the clients were configured with static IPs in the NAT range). This serves as the DHCP server for the entire network (Windows + Mac clients that aren't in the static NAT range).

    Thanks for your replies. I realize I'm not making clear the way this network is configured . Also, the only services running on the Snow Leopard server are (at this time):
    dhcpd - in the 10.136.31.x range;
    dns - same as before;
    planned to add are:
    Open Directory (for network logins)
    Software update;
    Web (only on the 10.136.31.x Ethernet);
    mySQL (localhost only - for moodle);
    NAT is not set up on the Snow Leopard server itself. We have an outside router, a Cisco 2811. This router provides routing for both the public IP range, and the NAT range is configured in this router. The forwarding dns is located in LR and Fayetteville. So what I need is dns on Snow Leopard to forward outside queries to the state DNS servers, and resolve the local NAT IP only for Open Directory and a set of Snow Leopard clients.
    Is this going to be possible?

  • Snow leopard server for net boot and software updates only what needs to be running to use it?

    Snow leopard server for net boot and software updates only what needs to be running to have it work right?

    Netboot and Software Update, at its simplest.  Mac OS X Server also expects to have functional IP networking and DNS services (somewhere) on the LAN (and if you're behind a NAT gateway, then the DNS server(s) are on your LAN and not out at your ISP), or things get weird.  SUS (usually) works out of the box, outside of cases where there's an outbound firewall.  Netboot can be more effort to setup, in terms of what you're loading into the clients.

  • Snow Leopard server for 10.7 netboot image

    Hi Everyone,
    I am trying to create a netboot image of 10.7 using snow leopard server but it is not working. I have already created an image of Lion and then tranfered it over to my server (Snow Leopard). I have scanned the image for restore (not sure if this is needed) and then mounted it using Disk Utility. Now when I lauch SIU then i don't see my pre-created image as image source.
    Can i create netboot image of 10.7 using Snow Leopard?
                                            OR
    If I created the netboot image using Lion Server and then tranfer the files over to Snow Leopard Server for all my client. Can i do this?
    Thanks,

    Hi Brian,
    Thanks for your help.
    So if I create the 10.7 netboot image using 10.7 server and then move the NetBootSP0 folder to SL server then it should be working, right?

  • Error configuring services from Snow Leopard Server to Mountain Lion Server

    I am trying to upgrade a Snow Leopard Server Mac Mini to Mountain Lion Server.
    We have two Mac Mini servers at our office (production and backup) so I migrated the everything from our production server to the backup using the migration assistant when setting up the backup computer.
    I now have the backup at home trying to upgrade it to Mountain Lion Server.  I have downloaded and installed Mountain Lion as well as the Server App version 2.2.  I basically followed the simple directions found in the Apple documentation.
    I started the server app and it got to the part where it said "Upgrading services".  After running for a few minutes, I get a window that states "An error occurred while configuring your server."  It also sayd "The following actions failed or were not attempted:" with a red dot next to "Upgrading services".  The other three items:  "Authenticating to local directory", "Reading directory configuration" and "Authenticating to local directory services" have gray dots so I'm sure they were not even attempted.
    Our Snow Leopard server is setup for SMB file sharing, LDAP services, FTP, Web, DNS, DHCP.
    Can someone point me to where I can figure out what exactly is failing?  Are there specific log files I need to look into?
    Thanks

    Have EXACTLY the same issue - also tried reinstalling mountain lion server fresh and still had the same problem...

  • MySql Database set up on Snow Leopard Server for Wordpress

    I am trying to set up a mySql database on the snow leopard server in order to install wordpress.
    I have played around with the MySql database settings (in the server admin window) but can't seem to figure out how to set the database name, username, and password within the Snow leopard server.
    Do I need to use third party software like Navicat to create the database and user names etc? If yes, any idea how to do that? If now, how do I create a MySql database, username and pw?
    I have put the Wordpress install folder on my Snow leopard server. When I navigate to my domain it says I need to configure wordpress by providing my database name, username and password.
    Thanks in advance.. I am struggling here.

    That's set up via the [MySQL command line|http://labs.hoffmanlabs.com/node/376]. Or you can install the (free) Sequel Pro GUI package, given you're probably more comfortable in the GUI. The steps required for Mac OS X Server are the same as most any other platform, so [launch the MySQL client per the Wordpress Codex|http://codex.wordpress.org/Installing_WordPress], and follow the instructions.

  • Server for Web hosting and email (only  for 3 domains)

    Hello guys,
    I want to setup mac mini server for my company which will host only 3 web sites and email server for the moment.
    What i got so far,
    01. I have Macmini server
    02. I have static ip address
    03. I have router (vigor 2700) which forward the external ip address (my ip start from 87.197.XXX.XXX) in to my Server using DMZ hosts
    (So i have 192.168.1.20 as my server ip address(local) and when i point 87.197.132.48  from out side (using web browser) i can see Mac server page)
    So can i setup the server using this infomation. Just want to make sure that i allready got everythign to setup the server.
    1st question : Do i have to all information to start this ?
    Please help me with this first, then i will have more  questions latter.
    Thanks in advance 

    Migrate out of 192.168.1.0/24 (and 192.168.0.0/24) as those will cause problems for your eventual use of VPNs to connect into your network.  Most every coffee shop and home network on the planet uses those, and the IP routing inherent in a VPN doesn't appreciate finding the same subnet on both ends of the VPN.  The earlier you get your network out of those particular subnets - and preferably over to a subnet somewhere within the 172.16.0.0/12 or 10.0.0.0/8 blocks - the easier the network migration will be.
    Set up your internal DNS services and your external DNS services (I'm assuming your local DNS server will not be delegated to serve DNS publicly) and particularly establish an A record in (at least) your public DNS referencing your mail server, and then enter that mail server A record entry as the MX mail exchange host for each of the three domains, and set up three virtual domains on the mail server. 
    If your gateway is sufficiently capable, you can have a separate domain or subdomain within your network, and have all your "public" names hosted externally.  You can then use example.com outside, and example.net inside, and any example.com references from the outside or from the inside will resolve to your external static IP address and (if your gateway has the ability to "reflect" traffic to the public static IP) it'll all work most easily.  If your gateway isn't capable, then you can also host the example.com domain internally in your local DNS server, but that means maintaining two parallel sets of DNS entries.  Or you can get a more capable gateway.  (I did not research your gateway.)
    You'll want to read the Apple mail service documentation around alias entries, as there are two ways to do this.  See the stuff around pages 73 and 77 in that document.  Better still, just skim that mail service administration manual; that'll get you an introduction to the whole area and some familiarity with the general terms and concepts, and that manual is fairly readable.
    Then read the TopicDesk Spam Documentation.
    If you don't have IT staff around (some of your time, as well as that of others) to dedicate to this mail server management (including user management, troubleshooting, backups, etc.) hosting mail externally can be a good trade-off.

  • Setting up Snow Leopard Server with Address Book, iCal for Small Business

    Hello Folks,
    I have a small business with 2-3 people and I want to setup Snow Leopard Server on a Mac Mini. I have everything in place, RAID, Backup drive etc.
    What I need is a guide on how to setup the server correctly and how to setup Address Book Server, iCal Server, DNS, etc. I was in IT a long while back but have gone back to my creative roots and sworn off IT but I am in a situation where my IT guy's wife is pregnant so he is busy painting the baby's room, etc.
    I was looking at Snow Leopard Server for Dummies and a few other books. Do you guys have any suggestions on resources for me to read or research that would give me very straightforward steps in getting this setup. I am at a point where I can re-install from scratch if needed.
    For the ease of those that might respond let's assume I know my way around Mac and general networking as a whole.
    Thanks in advance for any advice.
    Cheers,
    Jason

    Hi Guys,
    First of, I will give you a brief background on me regarding networking as a mac user since 1994. I can setup and network multiple macs without a server in our home and small office. Turning file, print and internet sharing with a regular Mac OS X client version at no problem at all. This would be my first time setting up a Mac OS X Snow Leopard Server.
    I'm in the same boat as Jakekub but we do not have a static IP from our DSL provider. We just bought a Mac Mini Server for our small office with 3 iMacs and 1 MacBook. We will just use the server for internal usage and to centralized things out and use some of server's features like Address Book, Mail, iCal etc. I've search the forums and found Orhidy's post here:
    http://discussions.apple.com/thread.jspa?threadID=2148553
    I even followed the sample IP Address, Subnet Mask, Router, DNS Server and I think I had it correctly setup initially. And I think I got it all running on the basic setup base on his instructions. So I tried to test my DNS settings via Terminal > hostname then got answer as
    servername.companyname.private
    And double checking DNS again with a command: sudo changeip - checkhostname and was given an answer of:
    Primary address = 192.168.1.192
    Current Hostname = servername.companyname.private
    DNS Hostname = servername.companyname.private
    The names match. There is nothing to change
    dirserv:success = "success"
    But here's another one that bugs me. I tried to follow from "Mac OS X Snow Leopard for Dummies" the command line:
    NSLOOKUP hostname
    and got an answer of:
    ;; Got SERVFAIL reply from 192.168.1.192, trying next server
    Server: 192.168.1.1
    Address: 192.168.1.1#53
    ** server can't find hostname: NXDOMAIN
    So does it mean that I still haven't configured my server properly?
    Thank you all for the help in advance!
    dive

  • Sharing Canon Wireless Network Printer on Snow Leopard Server

    Trying to setup a wireless printer to share on the LAN via Mac Mini Snow Leopard Server, however the sharing option is not available.
    Configuration:
    Mac Mini Snow Leopard Server (latest updates etc.) (static IP)
    TimeCapsule Wireless network (static IP)
    Canon MP620 Wireless printer (static IP)
    Two MacBook's (DHCP)
    Printer drivers (network drivers, and scanner drivers) from Canon installed on Mac Mini and printer is connected and setup via wireless network on Mac Mini; it is operational and can print from Mac Mini directly without problem
    Sharing option on Mac Mini for the printer is missing in Print Settings (missing checkbox), so unable to share the printer on MacBook's via the Mac Mini, also under Sharing Settings the printer option is not there (assuming because share this printer option is not in the print settings)
    Ideally, I want to setup the printer on the Mac Mini as a print server, without having to hardline (USB) the printer to the Mac Mini.
    Thanks for any help, ideas etc.

    Hello and welcome to Apple Discussions.
    On OS X Server, you need to use the Server Admin utility (Applications > Server ) to share the local print queue. This requires the Print service to be added/started and then a queue created for the local printer.
    Seems unusual that you would want to share a wireless printer from the server. The MacBook 'clients' would still be able to connect directly to this printer without having to connect via the server share so without knowing all the details of your setup it just seems an odd requirement.

  • I've got Snow Leopard Server, but don't need the server functions. What to do?

    This is somewhat complicated, so please bear with me. My Mac Pro was running OS X 10.5 and required updating. But we have legacy Power PC apps (mainly FreeHand) that we want to continue using, even though Mountain Lion doesn't support them.
    As a solution, I'm going to run Snow Leopard Server in emulation on Parallels 8 Desktop. I would rather have used plain old Snow Leopard instead of the server version, but Apple's EULA only allows 10.6 Server to run in emulation.
    So, I got Snow Leopard Server and have used it to upgrade 10.5. Eventually, (once I get everything working properly), I'll upgrade that to Mountain Lion and use SL Server in Parallels emulation to run the old Mac apps we can't do without.
    But I've run into a problem I didn't anticipate: I don't have a clue about running a server.
    I'm having trouble setting it up so the other Mac user in my department can access a shared folder. Also, I want the login window to display the list of users, but that option is grayed out.
    What I'd like to do is strip out all the server functions and just run as if 10.6.8 was a standard version of Snow Leopard, which I'm familiar with. If that's not practical, please explain how to get sharing to work since that's the main problem.
    I've tried turning off the services listed in the Server Preferences (iCal, Mail, etc.) but that hasn't fixed the problems. I think there may be server functions running that I haven't found preventing me from fixing the problems. Or it could be something else entirely (as I said, no clue).

    DON'T MAKE A MOUNTAIN (lion?) OUT OF A MOLEHILL!
    Several points in response to your post, in chronological order, not necessarily in order of importance:
    •  It was a common Urban Myth that Snow Leopard (client's) EULA prohibited its virtualization in Lion or Mt. Lion on a Mac!  That myth has been largely debunked in the last 18 months.
    Here are detailed instructions on how to install Snow Leopard client into Parallels 7 or 8:
    http://forums.macrumors.com/showthread.php?t=1365439
    That being said, and being the author of the aforementioned thread, I STRONGLY recommend that, where possible, you use Snow Leopard Server in favor of Snow Leopard client.  This will side step some later corruption problems that can arise from the improper use and shutting down of this Parallels partition.
    Historically, this thread was written when Apple sold Snow Leopard Server for $499+ or ceased sales altogether.  Now, Apple has rendered the (now diminishing) debate over the EULA moot, by its recent release of Snow Leopard Server to the US & Canadian community for $20; leaving those who cannot purchase SLS (or get someone to purchase it for them) to continue to follow the instructions in my thread (or asking me to purchase SLS for them and forward it to them; my preferred course of action!).
    •  I ALWAYS recommend that data files be stored on the real Mac's HDs and NOT in a virtualized world.  This is easy to accomplish and establishes a backup regimine (Time Machine, etc.) that will protect the users data.  Lost applications are easily restored from their installer discs.
    •  In practice I find that using SLS in Parallels 8 is the same as using SL client in Parallels.  I have even removed the Server apps from the Dock so as to not be confused by them.
    So, your solution is to establish a "shared folder" on the hard drive of the Mac that is hosting Parallels.  When in SLS in Parallels you will have access to your shared folder, ironically through Parallels' "Shared Folders" feature that is now present in Mac OS Guest installs on version 8 (see the "Shared Folders" SERVER on the right side of the screenshot, below).
    When using Freehand MX or other PowerPC apps, save your data files into your shared folder through access to it by Parallels' Shared Folders.  Other users on your network will have access to the SAME data files, through their customary use of file sharing to access your shared folder from your Mac's hard drive.
    IGNORE the Server applications in the Applications folder...
    Freehand MX running in Snow Leopard Server installed into Parallels 8 for use in Lion or Mt. Lion:
                                  [click on image to enlarge]
    Postscript: your post was so easy to follow!

  • HT3258 where can I buy/ download Snow Leopard OS for my Macbook Pro so I can run PowerPC?

    I need help.
    where can I get/ buy/ download snow leopard os so I can run PowerPC..

    If you are outside of the USA & Canada, the Apple Store will not ship you Snow Leopard Server.  You must have someone in the USA or Canada purchase it for you and then trans-ship it to you, which, of course, will increase the shipping costs. 
    Snow Leopard Server for $19.99 + sales tax & shipping costs at 1.800.MYAPPLE (1.800.692.7753) - Apple Part Number: MC588Z/A (telephone orders only).
    Another alternative is to purchase Snow Leopard client and install that into Parallels 8:
    http://forums.macrumors.com/showthread.php?t=1365439
    This will give you an environment where you can run your PowerPC CDs.

  • Where to buy Snow Leopard Server? OEM okay?

    All,
    I have half a dozen XServe (late 2008 machines) to upgrade from Leopard Server to Snow Leopard Server. I have been investigating how to go about doing this and have a couple of questions:
    1) does Apple still sell this software? If so, how the heck to I order it? Searching for Apple software in the Store is an exersize in futility!
    2) I've found several suppliers of OEM versions of Snow Leopard Server for impossibly low prices. I have installation media, I simply need the license keys; is this a good route to go?
    Thanks for the feedback, everyone!
    -Brian

    1) does Apple still sell this software? If so, how the heck to I order it? Searching for Apple software in the Store is an exersize in futility!
    This is a question a lot of people have. There's no clear answer, other than Apple don't seem to offer it any more.
    2) I've found several suppliers of OEM versions of Snow Leopard Server for impossibly low prices. I have installation media, I simply need the license keys; is this a good route to go?
    There is no such thing as an OEM version of Snow Leopard Server - or of any Mac OS X System.
    Since Apple develop and sell both the software and the hardware, there's no OEM market - it's not like you can buy a Dell or a HP with Mac OS X installed (which would be an OEM version of Mac OS X for Dell or HP).
    Therefore, any site offering an OEM version of Mac OS X is absolutely, definitely, 100% a scam.
    At best they're reselling older copies (which is questionable), at worst they're a malware farm trying to con you into installing fake software, or charging you for something they can't deliver.

  • Running Snow Leopard on Mountain Lion host VM (and being able to develop apps)

    I am a MacBook Pro owner and a game developer who wants to port his previous games for iOS.
    My Mac came with Mountain Lion. The game engine that we used can't be compiled with Mountain Lion (it uses Allegro 4 library, which uses libraries deprecated by newer Mac OSX versions). I don't think it will take a short time for our game engine to be compatible with Allegro 5, so working in Snow Lion seems to be our solution in this case.
    I have read that you can't install Snow Leopard to new Mac, replacing the main OS. But I know that it's possible to install it in virtual machine, hosted by Mountain Lion. My questions are,
    * Can it be upgraded to the latest Snow Leopard? I have read that some guy tried it with his pirate copy of SL and he bricked his virtual machine. I won't suffer the same fate because I will have purchased SL, right?
    * Will I be able to use XCode 3.2.6 AND submit my iOS game from virtual machine?
    It would be great if I could use Snow Leopard without buying a new (actually, old) Mac. I already feel like being punished just because we aren't at the year when Snow Leopard was the current OS.
    Thank you very much,
    Ahmet "Gord10" Kamil Keles

    Additional information and links.
    Parallels
    VirtualBox
    VM Fusion
    Snow Leopard server for use with the above. Call 1-800-692-7753 and order part number MC588Z/A. Cost is $19.99 + sales tax and shipping.

  • How to resolve network issue or dns to access web page on snow leopard server?

    I have my network setup like as follows:
    internet > router 1 > ethernet ports > switch > router 2
    I have a mac osx snow leopard server connected to "router 1", but it is so slow when accessing a web page hosted on the server from a browser on a workstation connected to either router 1 or router 2?
    Is there a problem with my network setup or maybe because I changed the name to newservername.local?

    @Jeff and @Camelot,
    I think it is a DNS issue.  I completely reset the DNS settings on server and the local name with the steps below, but now cannot access the site hosted on the server at all
    I used a modified version of http://www.mkahn.com/2010/09/configuring-dns-on-mac-os-x-10-6-snow-leopard-serve r-for-hosting/ to reset the server set
    1.  Stop DNS Service in Server Admin
    2.  Close Server Admin
    3.  Obtain 10.6 DNS Default files (below)
    4.  Overwrite the DNS files with DNS Default files:
    /etc/dns/loggingOptions.conf.apple
    /etc/dns/options.conf.apple
    /etc/dns/publicView.conf.apple
    /var/named/named.ca/etc/named.conf
    /var/named/named.local
    /var/named/localhost.zone
    5. Restart your server
    All machines have 1ms ping responses within the network including this snow leopard server that I am trying to setup.  There is another test web server that return pages instantly within this network so I doubt it is a network issue, but a DNS issue.

  • DNS Configured-Best Practice on Snow Leopard Server?

    How many of you configure and run DNS on your Snow Leopard server as a best practice, even if that server is not the primary DNS server on the network, and you are not using Open Directory? Is configuring DNS a best practice if your server has a FQDN name? Does it run better?
    I had an Apple engineer once tell me (this is back in the Tiger Server days) that the servers just run better when DNS is configured correctly, even if all you are doing is file sharing. Is there some truth to that?
    I'd like to hear from you either way, whether you're an advocate for configuring DNS in such an environment, or if you're not.
    Thanks.

    Ok, local DNS services (unicast DNS) are typically straightforward to set up, very useful to have, and can be necessary for various modern network services, so I'm unsure why this is even particularly an open question.  Which leads me to wonder what other factors might be under consideration here; of what I'm missing.
    The Bonjour mDNS stuff is certainly very nice, too.  But not everything around supports Bonjour, unfortunately.
    As for being authoritative, the self-hosted out-of-the-box DNS server is authoritative for its own zone.  That's how DNS works for this stuff.
    And as for querying other DNS servers from that local DNS server (or, if you decide to reconfigure it and deploy and start using DNS services on your LAN), then that's how DNS servers work.
    And yes, the caching of DNS responses both within the DNS clients and within the local DNS server is typical.  This also means that there is need no references to ISP or other DNS servers on your LAN for frequent translations; no other caching servers and no other forwarding servers are required.

Maybe you are looking for