Setting Up Web Services on OS X Server
With Server.app up and running, DNS configured, and a plan in place for locking down access to the default site when it becomes visible, it’s time to enable web services.
More from the Coded Memes article library…
With Server.app up and running, DNS configured, and a plan in place for locking down access to the default site when it becomes visible, it’s time to enable web services.
By leveraging OS X’s built-in user and group management architecture and Apache’s standard digest authentication, you can easily protect directories, files or whole domains — without ever touching a domain-specific password file. Here’s one way to do it via .htaccess or .conf files, as well as via a web app that can be switched on or off with a single checkbox in Server.app.
Earlier articles in this series covered some useful preliminaries for getting the best out of OS X Server; with those out of the way, at last it’s time to fire it up. Smooth, fast, and hassle-free hosting of multiple virtual hosts on OS X Server is right around the corner.
Now that MySQL is set up and configured on OS X Server, here’s how to ensure that databases are regularly backed up — while granting to the backup script only the minimal privileges needed for mysqldump.
Installing MySQL for OS X is mostly straightforward, but taking a minute to complete a few extra steps of configuration will help keep your server more secure and can vastly improve performance.
To my mind, it seems like a no-brainer to opt for a single solid state drive paired with a single spinning drive in a Mac Mini server. Doing that, however, means installing a non-Apple SSD, and that means jumping through a few extra hoops to get TRIM support from OS X.
Part of getting your OS X-based server set up for delivering real websites may involve preparing in advance to support SSH2 upgrades for WordPress. Run-throughs for this process are all over the place, but they almost always involve unnecessarily extravagant permissions on private encryption keys.
This site is provided for informational and entertainment purposes only. It is not intended to provide advice of any kind.