These can be placed into the correct directory using file shares or copying using the Finder.
Finally, enabling PHP and Python on sites is done globally, so this setting applies to all sites hosted on the server. Also, Mountain Lion Server added web apps, which we’ll briefly review later in this article as well, as those continue in Mavericks Server, Yosemite Server, El Capitan Server and ultimately macOS Server 5.2 for Sierra. You don’t have to spend a ton of time looking for it as it isn’t there. Instead just add sites, which is covered next. Also, don’t remove the files that comprise the default site. So if you remove the site, your server will exhibit inconsistent behavior. The first is, the server is no longer really designed to remove the default website. Provided the stock macOS Server page loads, you are ready to use macOS Server as a web server.īefore we setup custom sites, there are a few things you should know.
Once running, click on the View Server Website link at the bottom of the pane. To set up the default web portal, simply open the Server app, click on the Websites service and click on the ON button.Īfter a time, the service will start. These patches are often mods, or modules. Configuring web services is as easy in macOS Server 5.2, running on Sierra (10.12), as it has ever been. Apache owes its name to the fact that it’s “a patchy” service. Web Services in macOS Server, Linux and most versions of Unix are provided by Apache, an Open Source project that much of the Internet owes its origins to.